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.

[netcdfgroup] Problem with default fill values

Hi!

I'm using libnetcdf_c++ v 6.2.

I have a variable where I wish to set my empty scalar float array to [0], but all I get is [_].

The ncdump result looks like this:

my_var =
 _ ;

But I want it to be:

my_var =
 0 ;

I have not altered the default fill.

Can anybody give me a hint about how I can du this?

Håkon.


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