[netcdf-java] [CalendarDateRange] retrieving from and to dates


To use the precipitation, I'd like to retrieve the start and enddate from a 
grib entry. I have tried that using CalendarDateRange.getStart() and 
CalendarDateRange.getEnd() but the resulting dates always seem to be the same 
altough I would expect a difference of 6 or more hours.
I am reading in a recent NCEP GFS deterministic grib file, containing 
precipitation information.

Am I looking in the wrong direction to get this information?

parameter = 
result of a CalendarDateRange toString: 2014-01-28T00:00:00.000Z 
2014-01-28T00:00:00Z - 2014-01-28T00:00:00Z

Kind regards,

Martijn van der Pauw
Java developer


This e-mail may contain confidential information. Only the addressee is 
permitted to read, copy, distribute or otherwise use this e-mail or any 
attachments. If you have received it in error, please contact the sender 
immediately. Any opinion expressed in this e-mail is personal to the sender and 
may not reflect the opinion of MeteoGroup.

Any e-mail reply to this address may be subject to interception or monitoring 
for operational reasons or for lawful business practices.
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: