Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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/
netcdf-java
archives: