Given an ERDDAP dataset info object, return a vector of all available values in given dimension.
Arguments
- dim
dimension to extract
- ed_info
ERDDAP info object on SeaScape dataset, as returned by
ed_info)
Examples
ed <- ed_info("https://coastwatch.pfeg.noaa.gov/erddap/griddap/jplMURSST41.html")
ed_dim(ed, "LEV")
#> Warning: Failed to open 'https://coastwatch.pfeg.noaa.gov/erddap/griddap/jplMURSST41.csvp?LEV': The requested URL returned error: 500
#> Error : cannot open the connection
#> Error in ed_dim(ed, "LEV"): Problem fetching dimension LEV from ERDDAP: https://coastwatch.pfeg.noaa.gov/erddap/griddap/jplMURSST41.csvp?LEV