[netcdf-java] Empty Variables

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



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