Skip to content

Commit

Permalink
break the URL into parts
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Mar 14, 2024
1 parent a22e994 commit cf0c1e5
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@
"\n",
"This notebook walks through an easy to set up ERDDAP RESTful URL by using the python client, `erddapy`.\n",
"\n",
"A typical ERDDAP RESTful URL looks like:\n",
"A typical [ERDDAP RESTful URL]((https://gliders.ioos.us/erddap/tabledap/whoi_406-20160902T1700.mat?depth,latitude,longitude,salinity,temperature,time&time%3E=2016-07-10T00:00:00Z&time%3C=2017-02-10T00:00:00Z&latitude%3E=38.0&latitude%3C=41.0&longitude%3E=-72.0&longitude%3C=-69.0)) looks like:\n",
"\n",
"[https://gliders.ioos.us/gliders/erddap/tabledap/whoi_406-20160902T1700.mat?depth,latitude,longitude,salinity,temperature,time&time>=2016-07-10T00:00:00Z&time\\<=2017-02-10T00:00:00Z &latitude>=38.0&latitude\\<=41.0&longitude>=-72.0&longitude\\<=-69.0](https://gliders.ioos.us/erddap/tabledap/whoi_406-20160902T1700.mat?depth,latitude,longitude,salinity,temperature,time&time%3E=2016-07-10T00:00:00Z&time%3C=2017-02-10T00:00:00Z&latitude%3E=38.0&latitude%3C=41.0&longitude%3E=-72.0&longitude%3C=-69.0)\n",
"- base: `https://gliders.ioos.us/gliders/erddap/`\n",
" protocol: `tabledap/`\n",
" dataset_id: `whoi_406-20160902T1700.mat?`\n",
"- variables: `depth,latitude,longitude,salinity,temperature,time`\n",
"- constraints: `&time>=2016-07-10T00:00:00Z&time<=2017-0210T00:00:00Z&latitude>=38.0&latitude<=41.0&longitude>=-72.0&longitude<=-69.0`\n",
"\n",
"Let's break it down to smaller parts:\n",
"\n",
Expand Down

0 comments on commit cf0c1e5

Please sign in to comment.