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

Re: 980109: netcdf3 interface (bug?)

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: Re: 980109: netcdf3 interface (bug?)
  • Date: Fri, 23 Jan 98 16:17:05 -0700

Jim,

>Date: Wed, 21 Jan 1998 13:23:58 -0700 
>From: Jim Edwards <address@hidden>
>Organization: NOAA/FSL
>To: Russ Rew <address@hidden>
>Subject: Re: 980109: netcdf3 interface (bug?) 
>Keywords: 199801092007.NAA06889

In the above message, you wrote:

> Just to clarify, the nf_get_var_int1 (and int2) is not supported on
> the solaris (and cray?) architecture since there is no int1 or int2
> allowed in fortran

According to our experience on our Solaris systems, the f77(1) compiler
supports both the "byte" and "integer*2" types.

If you look in the file "fortran/nfconfig.inc" in your netCDF 3 source
directory, you should see the following lines:

    #define NF_INT1_T byte
    #define NF_INT2_T integer*2

These are the Fortran types that correspond to 1-byte and 2-byte
integers.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>