[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncdump Q



Does ncdump display _FillVAlue as the underscore char?

--Chris



Hi Chris,

I've got a newby question for you...

I am developing software to convert AOC P3 data in standard tape format
to NetCDF. This is the first software I have written to create NetCDF
output.  I have set the attribute _FillValue for each of my variables to
-32767

$attid = NetCDF::attput($ncid, $varid, "_FillValue",NetCDF::FLOAT, -32767);

When I put data into the NetCDF file, then view it using ncdump, values of
-32767 appear as an underscore, i.e.

DV = -375.7, -375.7, ... ,-3257.6, _, _, _, _, _, _, _, _, -3274.7, ...

My variable, DV, is defined as a float as well. My first thought was that the value was too big for the field, but a float should hold values larger than -32767? Do you have any idea why this is happening? Is it supposed to happen, or does it indicate a bug in my code? If it is a bug, any ideas on what might be going wrong?

Thanks,

Janine

From address@hidden Thu Jul  3 14:22:53 2003
Received: from ale.atd.ucar.edu (ale.atd.ucar.edu [128.117.80.15])
        by unidata.ucar.edu (UCAR/Unidata) with ESMTP id h63KMrLd012777
        for <address@hidden>; Thu, 3 Jul 2003 14:22:53 -0600 (MDT)
Organization: UCAR/Unidata
Keywords: 200307032022.h63KMrLd012777
Received: from ucar.edu (chinaco.atd.ucar.edu [128.117.84.57])
        by ale.atd.ucar.edu (8.12.8/8.8.8) with ESMTP id h63KMlcN028460
        for <address@hidden>; Thu, 3 Jul 2003 14:22:47 -0600 (MDT)
Message-ID: <address@hidden>
Date: Thu, 03 Jul 2003 14:22:47 -0600
From: Chris Webster <address@hidden>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: address@hidden
Subject: nevermind....
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, hits=-0.7 required=5.0
        tests=NOSPAM_INC,SPAM_PHRASE_00_01,USER_AGENT,
              USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG
        version=2.43
X-Spam-Level: