NetCDF User's Guide for Fortran
abnormal termination aborting define mode definitions access example of array section other software for scientific data random shared dataset access to netCDF distribution FTP WWW adding attributes dimensions variables add_offset attribute ancillary data APIs descriptions differences between C and C++ differences between C and FORTRAN summary of FORTRAN appending data along unlimited dimension to dataset variable applications, generic archive format array writing mapped writing subsampled array section access example corner of definintion of edges of mapped reading mapped subsampled subsampled array section, writing arrays nested ragged ASCII characters attribute adding add_offset CDL defining global initializing changing specifications of character-string Conventions conventions copying creating C_format data type data type, CDL deleting ensuring changes to example, global FORTRAN_format getting values global history ID information, getting inquiring about length CDL long_name missing_value name syntax operations renaming scale_factor signedness title units valid_max valid_min valid_range values variable ID vs. variable _FillValue attributes associated with a variable
backing out of definitions backward compatibility interface bit lengths of data types buffers, I/O bug reports making searching past byte array vs. text string CDL constant data type data type vs. character
C code via ncgen, generating C interface differences from C++ differences from FORTRAN C++ interface differences from C C, Standard call sequence, typical canceling definitions CANDIS CDF NASA NSSDC SeaSpace Unidata Workshop CDL attribute data type defining initializing length byte constant byte data type char data type character constant constant notation data types table of dimension double constant data type example file, data section of fill values float constant data type global attribute int constant data type long data type names notation real data type reserved words short constant data type syntax variable initializing variables declaration changes since last release to attributes, ensuring changing dimension length char data type CDL character string attribute CDL constant fixed-length reading values writing character-position dimension characters ASCII vs. byte closing a dataset code compiling netCDF-using generating via ncgen commercial netCDF software common netCDF call sequence compatibility interface, backward compiling netCDF-using code compression, data computers, CRAY computing file offsets of data concurrent dataset access limitations of conditions, error constant, CDL byte character double float int short conventions attribute discipline-specific example function name name netCDF PARAMETER name units syntax Conventions attribute converting floating-point values, cost of types error units coordinate offset vector systems, defining variable copying attributes corner of array section correspondence between data types and data netCDF-2 function name cost of converting floating-point values count vector zero-valued CRAY computers Flexible File I/O Flexible File I/O library I/O, optimizing creating attribute dataset dimension netCDF file variable C_format attribute
data access, other software for ancillary compression correspondence between data types and file offsets of history, recording loss mode model limitations order packing portability [1] [2] range, valid reading character-string representation, external resolution scaling section of CDL file section, netCDF file fixed-size self-describing storage structures structures, nested values, variable writing character-string data type and data, correspondence between attribute bit length of byte CDL CDL attribute CDL byte CDL char CDL double CDL float CDL int CDL long (deprecated) CDL real CDL short CDL, table of char double external float getting variable int NCLONG (deprecated) netCDF NF_BYTE NF_CHAR NF_DOUBLE NF_FLOAT NF_INT NF_INT1 NF_INT2 NF_REAL NF_SHORT punning, netCDF 2 short signed byte sizes unsigned byte variable database management systems systems, relational dataset appending data to closing creating deleting generating via ncgen ID inquiring about opening netCDF operations reading netCDF shared, access synchronizing declaration, CDL variable default error handling fill values define mode aborting entering leaving defining attribute CDL attributes coordinate systems dimension variable definition aborting backing out of of array section restoring old deleting attribute dataset deprecated feature CDL long data type NCLONG data type development, netCDF dimension adding CDL character-position creating ID getting unlimited information, getting inquiring about length changing getting multiple unlimited name getting syntax number of maximum variable record renaming unlimited direct access discipline-specific conventions distribution FTP access to netCDF netCDF source WWW access to netCDF documentation, HTML version of double CDL constant data type data type
edge of array section zero-length efficiency empty netCDF file enforcement, name syntax enhancements, future ensuring changes to attributes entering define mode entire variable reading writing environment variable, NETCDF_FFIOSPEC error conditions handling default messages getting suppressing returns type conversion type, prevention write example array section access CDL conventions file format global attribute extension, netCDF file external data representation types
FAN FAQ FFIO library, CRAY file data section, CDL empty extension, netCDF fixed-size data section format example specification version generating grammar header section name offsets of data sections size limitation smallest structure File Array Notation File I/O library, CRAY Flexible fill mode, setting write fill values CDL default _FillValue attribute fixed-length character-strings fixed-size data section, netCDF file Flexible File I/O library, CRAY float CDL constant data type data type floating-point IEEE values, converting flushing format archive example, file physical specification variable print version FORTRAN and C interfaces, differences between code via ncgen, generating interface layering summary of FORTRAN_format attribute freely available netCDF software frequently asked questions FTP access to netCDF distribution function name conventions correspondence, netCDF-2 function prototypes future enhancements
generating C code via ncgen dataset file FORTRAN code via ncgen generating code via ncgen C FORTRAN generic applications getting array section attribute information values character-string data data dataset information dimension ID information length name error messages library version mapped array section netCDF software single value subsampled array section variable data type ID information name shape global attribute CDL example grammar, netCDF file grouping variables
handle handling error default HDF header section, netCDF file history data, recording of interface history attribute home page HTML documentation
I/O buffers CRAY, optimizing library, CRAY FFIO ID attribute variable dataset dimension getting unlimited netCDF variable ID,getting variable IEEE floating-point implementation INCLUDE statement index order variables index mapping vector index vector indexing values information, getting on attribute on dataset on dimension on variable initializing CDL attributes CDL variables inner product inquiring about attribute dataset dimension variable int CDL constant data type data type interface backward compatibility C differences from C++ differences from FORTRAN C++ changes descriptions FORTRAN summary of history layering, FORTRAN Perl [1] [2] vs. netCDF 2, netCDF 3 interval, sampling
known names
languages compatability of interfaces supported largest file size layering, FORTRAN interface leaving define mode length actual string attribute CDL attribute data type bit declared string dimension changing getting maximum name variable level of support library CRAY FFIO linking with netCDF UDUNITS use version, getting XDR limitation concurrent access data model file size netCDF unlimited dimension linked lists linking with netCDF library list linked mailing long CDL data type (deprecated) long_name attribute loss, data
mailing list mapped array section reading writing mapping vector, index matrices, sparse maximum attributes per variable dimensions name length records variable dimensions variables [1] [2] messages error getting suppressing metadata missing values missing_value attribute mode data define aborting entering leaving write fill, setting model limitations, data multiple unlimited dimensions multiple writers
name attribute CDL conventions function PARAMETER correspondence, netCDF-2 function dimension getting known length, maximum netCDF file syntax attribute dimension enforcement variable variable, getting NASA CDF ncdump ncgen generating C code via generating FORTRAN code via NCLONG data type (deprecated) NCSA NCTLEN elimination nested arrays nested data structures netCDF call sequence, typical conventions data types dataset opening a reading a dataset, generating a development distribution FTP access to WWW access to file empty extension fixed-size data section format specification version generating a grammar header largest name sections size smallest structure of a handle home page, WWW ID implementation interface history library use library, linking with limitations operations purpose software commercial freely available getting usage WWW site netCDF 2 data type punning netCDF 2 data type coupling netCDF-2 data type punning function name correspondence interface vs netCDF-3 transition guide netCDF-3 interface vs. netCDF-2 netCDF-using code, compiling NETCDF_FFIOSPEC NETCDF_FFIOSPEC environment variable NF_ABORT NF_BYTE NF_BYTE data type NF_CHAR NF_CHAR data type NF_CLOBBER NF_CLOSE NF_COPY_ATT example NF_CREATE NF_DEF_DIM NF_DEF_VAR NF_DEL_ATT example NF_DOUBLE NF_DOUBLE data type NF_EEXIST NF_ENDDEF NF_FILL NF_FILL_BYTE NF_FILL_CHAR NF_FILL_DOUBLE NF_FILL_FLOAT [1] [2] NF_FILL_INT NF_FILL_INT1 NF_FILL_INT2 NF_FILL_REAL NF_FILL_SHORT NF_FLOAT NF_FLOAT data type NF_GET_ATT_DOUBLE example NF_GET_ATT_INT NF_GET_ATT_INT1 NF_GET_ATT_INT2 NF_GET_ATT_REAL NF_GET_ATT_TEXT example NF_GET_VAR1_DOUBLE NF_GET_VAR1_DOUBLE example NF_GET_VAR1_INT NF_GET_VAR1_INT1 NF_GET_VAR1_INT2 NF_GET_VAR1_REAL NF_GET_VAR1_TEXT NF_GET_VARA_DOUBLE example NF_GET_VARA_INT NF_GET_VARA_INT1 NF_GET_VARA_INT2 NF_GET_VARA_REAL NF_GET_VARA_TEXT NF_GET_VARM_DOUBLE example NF_GET_VARM_INT NF_GET_VARM_INT1 NF_GET_VARM_INT2 NF_GET_VARM_REAL NF_GET_VARM_TEXT NF_GET_VARS_DOUBLE NF_GET_VARS_INT NF_GET_VARS_INT1 NF_GET_VARS_INT2 NF_GET_VARS_REAL NF_GET_VARS_TEXT NF_GET_VAR_DOUBLE NF_GET_VAR_INT NF_GET_VAR_INT1 NF_GET_VAR_INT2 NF_GET_VAR_REAL NF_GET_VAR_TEXT NF_GLOBAL NF_INQ NF_INQ_ATT example NF_INQ_ATTID NF_INQ_ATTLEN example NF_INQ_ATTNAME NF_INQ_ATTTYPE NF_INQ_DIM NF_INQ_DIMLEN NF_INQ_DIMNAME NF_INQ_LIBVERS NF_INQ_NATTS NF_INQ_NDIMS NF_INQ_NVARS NF_INQ_UNLIMDIM NF_INQ_VAR NF_INQ_VARDIMID NF_INQ_VARID NF_INQ_VARNAME NF_INQ_VARNATTS NF_INQ_VARNDIMS NF_INQ_VARTYPE NF_INT NF_INT1 data type NF_INT2 data type NF_MAX_ATTRS NF_MAX_DIMS NF_MAX_NAME NF_MAX_VARS NF_MAX_VAR_DIMS NF_NOCLOBBER NF_NOERR [1] [2] NF_NOFILL NF_NOWRITE NF_OPEN NF_PUT_ATT_DOUBLE NF_PUT_ATT_INT NF_PUT_ATT_INT1 NF_PUT_ATT_INT2 NF_PUT_ATT_REAL NF_PUT_ATT_TEXT NF_PUT_VAR1_DOUBLE NF_PUT_VAR1_DOUBLE example NF_PUT_VAR1_INT NF_PUT_VAR1_INT1 NF_PUT_VAR1_INT2 NF_PUT_VAR1_REAL NF_PUT_VAR1_TEXT NF_PUT_VARA_DOUBLE NF_PUT_VARA_DOUBLE example NF_PUT_VARA_INT NF_PUT_VARA_INT1 NF_PUT_VARA_INT2 NF_PUT_VARA_REAL NF_PUT_VARA_TEXT [1] [2] NF_PUT_VARM_DOUBLE NF_PUT_VARM_INT NF_PUT_VARM_INT1 NF_PUT_VARM_INT2 NF_PUT_VARM_REAL NF_PUT_VARM_TEXT NF_PUT_VARS_DOUBLE NF_PUT_VARS_INT1 NF_PUT_VARS_INT2 NF_PUT_VARS_REAL NF_PUT_VARS_TEXT NF_PUT_VAR_DOUBLE NF_PUT_VAR_INT NF_PUT_VAR_INT1 NF_PUT_VAR_INT2 NF_PUT_VAR_REAL NF_PUT_VAR_TEXT NF_REAL data type NF_REDEF NF_RENAME_ATT NF_RENAME_ATT example NF_RENAME_DIM NF_RENAME_VAR example NF_SET_FILL NF_SHARE NF_SHORT NF_SHORT data type NF_STRERROR NF_SYNC NF_UNLIMITED NF_WRITE notation CDL constant NSSDC CDF number of dimensions maximum of records maximum written of variable dimensions, maximum [1] [2] numeric values
obtaining netCDF software offset to data, file to variable, file vector, coordinate old definitions, restoring opening a dataset operating systems operations attribute dataset netCDF variable optimization platform-specific UNICOS order data index subscript
packing, data PARAMETER name conventions parts, netCDF file performance Perl interface [1] [2] physical file format platform-specific optimization platforms pointers portability data [1] [2] prevention of type errors print format, variable problem reports, searching past product, inner prototypes function punning, netCDF 2 data type purpose, netCDF putting array section character-string data data entire variable mapped array single value subsampled array
ragged arrays random access range, valid data reading array section data character-string entire variable mapped array section netCDF dataset single value subsampled array section realCDL data type record dimension maximum number of sizes, variable variables written, number of recording data history relational database systems removing attributes renaming attributes dimensions variables reports, bug making searching archives representation, external data reserved words, CDL resolution, data restoring old definitions returns, error
safety, type sampling interval array section scalar variables scale_factor attribute scaling, data scientific data access, other software for searching past problem reports SeaSpace CDF section array corner definition edges mapped reading reading subsampled reading writing array, access example CDL file data fixed-size data netCDF file self-describing data setting write fill mode shape getting variable variable shared dataset access short CDL constant data type data type signed signed byte data type signedness attribute single value reading writing size data type bit largest file limitation, file netCDF file smallest file variable record smallest netCDF file software commercial freely available getting software for scientific data access source distribution space required for attribute sparse matrices specification, file format Standard C statement INCLUDE stdio storage, data stride vector stride, array section string character fixed-length variable-length writing length actual declared text, vs. byte array structure data file structures data nested subsampled array section reading writing subscript order summary of FORTRAN interface support, level of supported languages suppressing error messages symbol table, variable synchronizing a dataset syntax CDL conventions, units name attribute dimension enforcement variable
table CDL data types variable symbol termination abnormal termination, abnormal text string vs. byte array title attribute trees type conversion error error prevention safety typical netCDF call seqence
UDUNITS library UNICOS optimization units and attributes and variables attribute converting syntax conventions unlimited dimension appending data along ID limitation multiple unsigned unsigned byte data type usage, netCDF use, netCDF library utilities utilities, netCDF
valid data range valid_max attribute valid_min attribute valid_range attribute value attribute getting CDL fill character-string fill default floating-point, converting indexing missing numeric reading single variable writing single variable adding appending data to attributes CDL CDL initializing characteristics coordinate creating data type data type, getting declarations, CDL dimensions, maximum number of file offset to grouping ID attribute ID, getting index information, getting inquiring about length name getting syntax operations reading entire record record sizes renaming scalar shape getting symbol table values vs. attribute writing entire variable dimensions, maximum variable-length strings vector coordinate offset count index index mapping stride zero-valued count version library, getting netCDF file format
Web, see WWW Workshop, CDF write errors write fill mode, setting writers, multiple writing array section character-string data data entire variable mapped array section single value subsampled array section WWW access to netCDF distribution netCDF home page
XDR library
zero-length edge zero-valued count vector
_FillValue attribute
Generated with Harlequin WebMaker