NetCDF-Fortran
4.4.4
Main Page
Related Pages
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
Pages
netcdf.f90
Go to the documentation of this file.
1
! Description:
2
!
3
! Input Parameters:
4
! None.
5
!
6
! Output Parameters:
7
! Many public constants are defined in "netcdf_constants.f90". The names follow
8
! the Fortran 77 names, with nf90_ used as a prefix instead of nf_77.
9
! Functions are made accessable through PUBLIC:: statements in "netcdf_visibility.f90".
10
! Only the functions listed in this file are available in the interface.
11
!
12
! References and Credits:
13
! Written by
14
! Robert Pincus
15
! Cooperative Institue for Meteorological Satellite Studies
16
! University of Wisconsin - Madison
17
! 1225 W. Dayton St.
18
! Madison, Wisconsin 53706
19
! Robert.Pincus@ssec.wisc.edu
20
!
21
! Design Notes:
22
! Module elements are private by default.
23
! Many functions have optional arguments. In order to keep the interface easy to use,
24
! we've reordered the arguments (relative to the F77 interface) in some functions.
25
! The external datatype of attributes is the same as the internal type.
26
! By default, data is read from or put into the lowest part of the netCDF array with stride 1.
27
! We've made heavy use of overloading, especially in the variable put and get routines.
28
! A single function exists for putting all variables; a single function exists for getting
29
! variables.
30
! Text variables must be treated somewhat differently. When a character variable is defined, the
31
! fastest-varying index (first index in Fortran) must be the maxiumu length of the character
32
! string. N dimensional arrays of strings passed to the put or get functions are written/read
33
! from dimensions 2:N+1. The number of values along the first dimension is determined by the
34
! length of the argument character string.
35
!
36
module
netcdf
37
use
typesizes
, only
: onebyteint, twobyteint, fourbyteint, eightbyteint, &
38
fourbytereal, eightbytereal
39
implicit none
40
private
41
! as of version 4.4, the following are merged:
42
! - netcdf_constants.f90 and netcdf4_constants.f90
43
!
44
! Update the dependencies in the Makefile.am when modifying the list of
45
! included files.
46
include
"netcdf_constants.f90"
47
include
"netcdf_externals.f90"
48
include
"netcdf_overloads.f90"
49
include
"netcdf_visibility.f90"
50
contains
51
include
"netcdf_file.f90"
52
include
"netcdf3_file.f90"
53
include
"netcdf_dims.f90"
54
include
"netcdf_attributes.f90"
55
include
"netcdf_variables.f90"
56
include
"netcdf_text_variables.f90"
57
include
"netcdf_expanded.f90"
58
include
"netcdf_eightbyte.f90"
59
end module
netcdf
netcdf
Definition:
netcdf.f90:36
typesizes
Definition:
typeSizes.f90:30
Return to the Main Unidata NetCDF page.
Generated on Mon Dec 19 2016 16:43:42 for NetCDF-Fortran. NetCDF is a
Unidata
library.