nc3d (3-dimensional Dataset)¶
nc3d _ [vdt] _ll [cdt] _t [tdt] structure is used to declare a 3-dimensional NetCDF dataset.
Combinations can be made for the declaration of the structure by replacing [vdt]
by one of the data types defined in the FPL library ([byte, short, int, float, double]),
[cdt] by a defined suffix for the data type of the coordinates f for float and d for double and
[tdt] by a defined suffix for the datatype of time (i for integer, f for float and d for double).
nc3d _ [vdt] _ll [cdt] _t [tdt]¶
| Type naming: | 
 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name parameters: | |||||||||||||
| 
 | |||||||||||||
| Unit parameters: | |||||||||||||
| 
 | |||||||||||||
| Dimension parameters: | |||||||||||||
| 
 | |||||||||||||
| Coordinate parameters: | |||||||||||||
| 
 | |||||||||||||
| Time parameters: | |||||||||||||
| 
 | |||||||||||||
| Data parameters: | |||||||||||||
| 
 | |||||||||||||
Example:
Using a 3-dimensional NetCDF dataset with variable declared as short,
coordinates declared as float and time declared as double (nc3d _ short _ll f _t d).
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | type :: nc3d_short_llf_td
  sequence
  character(len=100) :: varname, timename, lonname, latname, long_name, &
                        varunits, lonunits, latunits, timeunits
  character(len=100), dimension(:), allocatable :: dimname, dimunits
  integer(kind=intgr) :: nlons, nlats, ntimes, ndims, vartype
  integer(kind=intgr), dimension(:), allocatable :: dimid, dimsize, varids
  integer(kind=intgr), dimension(3) :: dims
  integer(kind=short) :: FillValue
  real(kind=double), dimension(:), allocatable :: times
  real(kind=float), dimension(:), allocatable :: longitudes, latitudes
  integer(kind=short), dimension(:,:,:), allocatable :: ncdata
end type nc3d_short_llf_td
 |