Closed sckott closed 6 years ago
Possibly do through the fields
param? But i think that only affects the measured vars, not dim vars.
Could do by another parameter like dim_fields
to request dim fields to return - this will just grab the dim vars the user wants, after downloading all data.
not convinced this is worth working on since you can just subset data once you pull it down, and it isn't really supported in the ERDDAP framework
after playing a bit:
It looks like with dimension variables (Eg.., lat, lon), you can't query by a dim var, but not return that dim var, so e.g., (this call works)
http://coastwatch.pfeg.noaa.gov/erddap/griddap/erdQSwind3day.htmlTable?latitude[(-15.0):1:(15.0)],longitude[(0.0):1:(360.0)]
We get back lat and lon, but we can't e.g., get back just lat, but include a query for lon.
Also, I haven't yet found a way to query to get just latitude e.g., but also get a measurement variable, e.g., x_wind here (this call doesn't work):
http://coastwatch.pfeg.noaa.gov/erddap/griddap/erdQSwind3day.htmlTable?x_wind[(-15.0):1:(15.0)],latitude[(-15.0):1:(15.0)]
So anyway, I think we can allow the first situation, where you don't get any measured variables back, but you can get just dimension variables.