NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] create time series from grids

Sorry for the slow reply to this - if this hasn't already been solved, we have 
a Java library that can do this sort of thing quite easily (we use it to 
generate timeseries plots in ncWMS).  I can provide more details if needed, or 
Don's suggestions may work just as well or better!

Jon

-----Original Message-----
From: netcdf-java-bounces@xxxxxxxxxxxxxxxx 
[mailto:netcdf-java-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Don Murray
Sent: 21 March 2011 14:13
To: netcdf-java@xxxxxxxxxxxxxxxx
Subject: Re: [netcdf-java] create time series from grids

Hi John-

On 3/20/11 9:54 PM, John.C.Cartwright@xxxxxxxx wrote:
> Hello All,
>
> I'm looking to create a time series from a set of grids using a single
> geographic coordinate.
>
> I'm assuming that I need to use something like
> GridDatatype#readDataSlice and calculate array indexes from the geo coords.
>
> Is there a better way?

As far as I know, there is nothing explicit in the ucar.nc2.dt.grid 
package, but you could follow the example of 
thredds.server.ncSubset.GridPointWriter which uses 
ucar.nc2.dt.grid.GridAsPointDataset to read data from a grid at a point. 
  That's what the TDS and RAMADDA use for their respective Grid as Point 
services.

Don
-- 
Don Murray
NOAA/ESRL/PSD and CIRES
303-497-3596
http://www.esrl.noaa.gov/psd/people/don.murray/

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: 
http://www.unidata.ucar.edu/mailing_lists/ 



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: