[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #XGC-910742]: NetCDF Subset Service (NCSS) returns 0.0 vertical coordinate if multiple variables requested

Hi John,

Thanks for this bug report. I've entered it in our issue tracking system here


You can keep an eye on the issue or just check the change logs of new releases.


> Hi TDS Folks,
> I've discovered when using NetCDF Subset Service (NCSS) for retrieving data
> values at a point that the vertical coordinate that gets returned
> (vertCoord) is always listed as 0.0 if I request data for more than one
> variable (e.g. var=u,v) regardless of the vertical coordinate that I've
> specified. The data values that are returned are correct for the vertical
> coordinate that I specify, so that's good. It's just that the vertical
> coordinate doesn't come back the same as what I requested. For example:
> Requesting a single variable (water_temp) at a given depth (10 m) returns
> expected vertCoord (10.0):
> http://oos.soest.hawaii.edu/thredds/ncss/grid/pacioos/ncom/hawaii/NCOM_Hawaii_Regional_Ocean_Model_best.ncd?var=water_temp&latitude=21&longitude=-158&time_start=2011-04-10T00%3A00%3A00Z&time_end=2011-05-27T00%3A00%3A00Z&temporal=point&time=2011-04-10T00%3A00%3A00Z&vertCoord=10.0&accept=csv&point=true
> <http://oos.soest.hawaii.edu/thredds/ncss/grid/pacioos/ncom/hawaii/NCOM_Hawaii_Regional_Ocean_Model_best.ncd?var=water_temp&latitude=21&longitude=-158&time_start=2011-04-10T00%3A00%3A00Z&time_end=2011-05-27T00%3A00%3A00Z&temporal=point&time=2011-04-10T00%3A00%3A00Z&vertCoord=10.0&accept=csv&point=true%20>
> date,lat[unit="degrees_north"],lon[unit="degrees_east"],vertCoord[unit="meter"],water_temp[unit="Celsius"]
> 2011-04-10T00:00:00Z,20.994007110595703,-157.9876251220703,10.0,24.443
> BAD:
> Requesting two variables (water_temp, salinity) at a given depth (10 m)
> returns wrong vertCoord (0.0):
> http://oos.soest.hawaii.edu/thredds/ncss/grid/pacioos/ncom/hawaii/NCOM_Hawaii_Regional_Ocean_Model_best.ncd?var=water_temp,salinity&latitude=21&longitude=-158&time_start=2011-04-10T00%3A00%3A00Z&time_end=2011-05-27T00%3A00%3A00Z&temporal=point&time=2011-04-10T00%3A00%3A00Z&vertCoord=10.0&accept=csv&point=true
> date,lat[unit="degrees_north"],lon[unit="degrees_east"],vertCoord[unit="meter"],water_temp[unit="Celsius"],salinity[unit="1e-3"]
> 2011-04-10T00:00:00Z,20.994007110595703,-157.9876251220703,0.0,24.443,34.724
> Thanks for giving this a look. Seems like a bug that needs fixing. I haven't
> tested whether the same would be true for using NCSS to retrieve an entire
> grid.
> Cheers,
> John Maurer
> Pacific Islands Ocean Observing System (PacIOOS)
> University of Hawaii at Manoa

Ticket Details
Ticket ID: XGC-910742
Department: Support THREDDS
Priority: Critical
Status: Open

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.