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.

Re: [netcdf-java] changing attribute value via NcML

The problem is that the underlying data source has no metadata indicating what the missing value is. I was using NcML to add that bit of metadata. I think it would take something like an "orgValue" to make that work.

Doug

John Caron wrote:
Doug Lindholm wrote:
I see that you can change the name of an attribute via NcML using orgName, but what if I want to change an attribute value? e.g. the data behind the NcML has missing_value="0" but I want to change it to "NaN"? Does NcML support this? Something like "orgValue"?

Thanks,
Doug

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

You just put in the new value, and it overrides. Im probably not parsing NaN correctly though, unless Double.parseDouble(String) already does the right thing.



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