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: [netcdf-java] Empty Variables

Its possible you want a Sequence, which is allowed to be empty.

Doug Lindholm wrote:
Hi,

I was pleased to discover Range.EMPTY, but disappointed that Variable and Array's "section" methods don't play nicely with it.

My use case involves applying a constraint to the data (e.g. time < 10) which may result in zero samples. "null" isn't a good option, because I still want to be able to access a Variable's metadata.

Any suggestions for making a Variable empty?

Thanks,
Doug

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