Exciting ERDDAP Features for Users Revealed

New or Little Known
ERDDAP Features
(for Users)
Bob Simons
DOC / NOAA / NMFS / SWFSC / ERD
Monterey, CA
bob.simons@noaa.gov
ERDDAP v 1.74 released 2016-10-07
Didn't publicly announce it. (Long story.)
But it is available and good.
v1.76 is coming very soon.
Long Titles Fully Displayed
 (v1.74)
No more "..." in long titles
Thanks to Margaret O'Brien, LTER, and EML.
Other Request Options
Each dataset's .html page and .graph page have lots of options,
but the griddap and tabledap documentation describe more.
https://coastwatch.pfeg.noaa.gov/erddap/griddap/documentation.html
https://coastwatch.pfeg.noaa.gov/erddap/tabledap/documentation.html
Notably, there are several additional parameters for graphs
 (most v1.66)
.
For example, you can:
Make the x or y axis descending 
&.xRange=
min|max|ascending
 (t*|f)
Specify the background color for a graph 
&.bgColor=0x
AARRGGBB
Specify the font size 
&.font=
scaleFactor
Specify a .png image's canvas size (in pixels)  
&.size=
width
|
height
Trim the whitespace at the bottom of an image 
&.trim=
trimPixels
Get an image with out|only  the legend 
&.legend=
Bottom*|Off|Only
Some of these are thanks to John Kerfoot and Luke Campbell.
min(var) and max(var)
in Tabular Data Constraints
 (v1.66)
In general:
&
variable operator value
&wtemp>=32
&time>now-2days
New:  
(if min and max are known for a variable)
&wtemp>=max(wtemp)-2
&time>max(time)-2days
Thanks to John Kerfoot and Luke Campbell.
&orderByClosest("stationID, time, 1day:12hours")
This is the closest thing to OPeNDAP/griddap "stride"
in tabledap.
Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.
&orderByLimit("stationID, 100")
This is similar to SQL's LIMIT statement.
Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.
New Output fileType=.jsonlCSV 
(v1.76)
JSON Lines
 - For processing line-by-line.
No enclosing  {}. 
http://jsonlines.org/
Comma Separated Values. "Better than CSV"
Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.
New Output fileType=.jsonlKVP 
(v1.76)
JSON Lines
 - For processing line-by-line.
No enclosing  {}. 
http://jsonlines.org/
Key Value Pairs.
Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.
Read about ERDDAP and try it out
http://coastwatch.pfeg.noaa.gov/erddap/
Download and install ERDDAP
http://coastwatch.pfeg.noaa.gov/erddap/download/setup.html
Thank you!
Questions? Comments? Suggestions? 
bob.simons@noaa.gov
Slide Note

Hello. I'm Bob Simons, the author of ERDDAP.

I'm going to talk about New or Little Known ERDDAP Features for Users

Embed
Share

Discover the latest enhancements in ERDDAP, including the release of v1.74 with long title display improvements, expanded request options, constraints on tabular data, and new ordering functionalities like orderByClosest and orderByLimit. Additionally, get a sneak peek into upcoming v1.76 features like the jsonlCSV output type. Explore these valuable updates for a better user experience.

  • ERDDAP
  • Data Access
  • User Features
  • Data Constraints
  • Ordering Functionalities

Uploaded on Sep 30, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. New or Little Known ERDDAP Features (for Users) Bob Simons DOC / NOAA / NMFS / SWFSC / ERD Monterey, CA bob.simons@noaa.gov

  2. ERDDAP v 1.74 released 2016-10-07 Didn't publicly announce it. (Long story.) But it is available and good. v1.76 is coming very soon.

  3. Long Titles Fully Displayed (v1.74) No more "..." in long titles Thanks to Margaret O'Brien, LTER, and EML.

  4. Other Request Options Each dataset's .html page and .graph page have lots of options, but the griddap and tabledap documentation describe more. https://coastwatch.pfeg.noaa.gov/erddap/griddap/documentation.html https://coastwatch.pfeg.noaa.gov/erddap/tabledap/documentation.html Notably, there are several additional parameters for graphs (most v1.66). For example, you can: Make the x or y axis descending &.xRange=min|max|ascending (t*|f) Specify the background color for a graph &.bgColor=0xAARRGGBB Specify the font size &.font=scaleFactor Specify a .png image's canvas size (in pixels) &.size=width|height Trim the whitespace at the bottom of an image &.trim=trimPixels Get an image with out|only the legend &.legend=Bottom*|Off|Only Some of these are thanks to John Kerfoot and Luke Campbell.

  5. min(var) and max(var) in Tabular Data Constraints (v1.66) In general: &variable operator value &wtemp>=32 &time>now-2days New: (if min and max are known for a variable) &wtemp>=max(wtemp)-2 &time>max(time)-2days Thanks to John Kerfoot and Luke Campbell.

  6. &orderByClosest("stationID, time, 1day:12hours") This is the closest thing to OPeNDAP/griddap "stride" in tabledap. Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.

  7. &orderByLimit("stationID, 100") This is similar to SQL's LIMIT statement. Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.

  8. New Output fileType=.jsonlCSV (v1.76) JSON Lines - For processing line-by-line. No enclosing {}. http://jsonlines.org/ Comma Separated Values. "Better than CSV" Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.

  9. New Output fileType=.jsonlKVP (v1.76) JSON Lines - For processing line-by-line. No enclosing {}. http://jsonlines.org/ Key Value Pairs. Thanks to the Irish Marine Institute's Damian Smyth, Rob Fuller, and Adam Leadbetter.

  10. Read about ERDDAP and try it out http://coastwatch.pfeg.noaa.gov/erddap/ Download and install ERDDAP http://coastwatch.pfeg.noaa.gov/erddap/download/setup.html Thank you! Questions? Comments? Suggestions? bob.simons@noaa.gov

Related


More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#