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.

Re: [netcdfgroup] storing sparse matrices data in NetCDF

P.S. - I didn't try to make the netcdf file CF-compliant or anything
like that. If you need that, you'll have to package the times in a
specific format, and so on...

On 3/18/19 2:57 PM, Ken Mankoff wrote:
> On 2019-03-18 at 13:12 -0700, Sourish Basu <Sourish.Basu@xxxxxxxxxxxx> 
> wrote...
>> In your example dataset, there are five values for the time
>> coordinate. However, the values of x, y, lat, lon, and elev do not
>> seem to depend on the values of time. Is this true in general for your
>> data? If that's true (while still allowing x, y etc. to vary from year
>> to year, or file to file), that makes packaging even simpler.
> Correct. There are 6 header rows that *never* change: ID, lon,lat, x,y, elev. 
> There is 1 index column that is date. Then the data that is a function of 
> (ID,date) (or ((lon,lat),date), or ((x,y),date)) does change.
>
>   -k.

Attachment: signature.asc
Description: OpenPGP digital signature