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

961211: Trouble read a netcdf file on the cray

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 961211: Trouble read a netcdf file on the cray
  • Date: Wed, 11 Dec 96 09:38:17 -0700

Tom,

> From: Thomas Mayer <address@hidden>
> Subject: Trouble read a netcdf file on the cray
> Organization: National Center for Atmospheric Research NCAR
> Keywords: 199612102207.AA21583 netCDF Cray

In the above message you wrote:

>       Jeff Keuhn suggested I contact you about problems I've 
>       having reading a netcdf file on Shavano (a cray y-mp)
>       here at NCAR.   I've been trying to read a netcdf file 
>       from the Climate Diagnostiocs Center here in Boulder
>       The data for the file were written out as integer shorts        
>       and I've been trying to read the file on shavano using
>       standard netcdf Fortran routines.  All of the header    
>       information comes out fine as well as the scale and offset
>       information.  However the data comes out as all zeroes.
>       
>         When I take the same code and read the file on our SUN's
>       here in CGD running Solaris I have no problems.  (The only
>       differences in the code are from the fact I read the 
>       file directly inside the code on our SUN while on Shavano
>       I rcp the netcdf file from our SUN and make it a local
>       file.) 
> 
>       Could you let me know how I should proceeed?
> 
>       Tom Mayer CGD, NCAR X1367
> 
>       address@hidden

If you rcp(1) the file *from* Shavano back to your SUN, is it identical
to the original?

--------
Steve Emmerson   <address@hidden>