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.

[netcdfgroup] NF90_GET_VAR from netcdf-fortran-4.4.3 release does not work with compound user defined type variable

Dear all


NASA has decided to change formats of MODIS data files with ocean biology
products from hdf4 to netcdf-4, and my software turned useless.  I was asked
to change my Fortran executables from hdf4 to netcdf-4. After training
myself to get control on using netcdf-4 library functions of Fortran
interface, I hit on a road bloc: the function NF90_GET_VAR  to read datasets
works well for arrays of single types (integers or reals) but NOT for
compound user defined types, like the structure sstdata 

TYPE binSST
real(kind=4) :: sum
real(kind=4) :: sum2
end TYPE binSST

TYPE(binSST), allocatable, dimension(:) :: sstdata


In case someone has hit on a similar problem or has a suggestion, I would
kindly appreciate the help.
I work in Linux (Ubuntu) 64 bits, and the Fortran compiler is gfortran.

Thank you for the kindness of your attention
Kind regards
Arlindo Arriaga, PhD Meteorology UW-Madison 1991




--
View this message in context: 
http://netcdf-group.1586084.n2.nabble.com/NF90-GET-VAR-from-netcdf-fortran-4-4-3-release-does-not-work-with-compound-user-defined-type-variable-tp7576022.html
Sent from the NetCDF Group mailing list archive at Nabble.com.



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