NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Fortran90 interface

Hello

On Tue, Mar 31, 2009 at 08:04:48 -0700, Roy Mendelssohn wrote:
> Have you included the appropriate netcdf modules, and made certain that 
> they are in your path?  NF90_FLOAT is a variable defined there.  Also, 
> depending on what system/compiler you are using, there may be case 
> sensitivity in the definition.

Further up in the code I've calls like:

   iret = nf90_create(fn,NF90_CLOBBER,ncid)
   call check_err(iret)
:
:
!  define dimensions
   iret = nf90_def_dim(ncid, 'lon', 1, lon_dim)
   call check_err(iret)
:
:

and that compiles OK.

If I do a strings on /opt/netcdf4/include/netcdf.mod I do not see
NF90_DEF_VAR as I e.g. see NF90_DEF_DIM. The closest is:
gen@NF90_DEF_VAR
#NF90_DEF_VAR_SCALAR
#NF90_DEF_VAR_ONEDIM
#NF90_DEF_VAR_MANYDIMS
#NF90_DEF_VAR_MANYDIMS%SIZE

I also see NF90_REAL and NF90_FLOAT.


>
> -Roy M.
>

Karsten

-- 
----------------------------------------------------------------------
Karsten Bolding                    Bolding & Burchard ApS
Strandgyden 25                     Phone: +45 64422058
DK-5466 Asperup                    Fax:   +45 64422068
Denmark                            Email: karsten@xxxxxxxxxxxxxxxxxxxx

http://www.findvej.dk/Strandgyden25,5466,11,3

Q: What is irony?
A: Almost the same as goldy and bronzy - just made of iron ...
(from Blackadder)
----------------------------------------------------------------------



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