The module nc_utils

Read Routines

Routine

Function

nc_get_vertcoorname

Get name of vertical coordinate

nc_grid_descr

Get description of lat-lon-grid

nc_get_grid

Read latitudes and longitudes

nc_get_level

Read levels

nc_get_values3

Get all values for a NetCDF variable and return these on a 3-dimensional field

nc_get_var_cf

Get all values for a NetCDF variable and return these on a 3-dimensional field
If the dataset is not following CF conventions, switch dimensions -> (lon,lat,lev)

nc_get_values3_cf

Get all values for a NetCDF variable and return these on a 3-dimensional field
If the dataset is not following CF conventions, switch dimensions -> (lon,lat,lev)

Write Routines

Routine

Function

nc_set_var_atts

Set attributes for a NetCDF variable

nc_set_global_atts

Set global attributes for a NetCDF file

nc_change_history

Add modification date and program name to history

nc_set_new_history

Create new history with modification date and program name

nc_set_file_creation_time

set file_creation_time and file_modification_time

nc_set_param_creation_time

set param_creation_time and param_modification_time

nc_set_file_mod_time

change file_modification_time

nc_set_param_mod_time

change param_modification_time

nc_put_values3_icg

Insert a three dimensional field into a netCDF-file following ICG-Conventions.
The input field is following ICG-Conventions (lev,lat,lon) and
the output variable is following ICG-Conventions (lev,lat,lon,time).

nc_put_values3

Inserts a three dimensional field into a netCDF-file.
The input field is following CF-Conventions (lon,lat,lev) and
the output variable is following CF-Conventions (lon,lat,lev,time)

nc_put_var_cf

Put 3-dimensional field (lon,lat,lev) to NetCDF file following the conventions used in this file.
If the dataset is not following CF conventions, switch dimensions before writing -> (lev,lat,lon)

Copy Routines

Routine

Function

nc_copy_globals

Copy global attributes from input file to output file

nc_copy_dim

Copy dimensions from input file to output file

nc_copy_global_atts

Copy global attributes from input file to output file

nc_copy_var_atts

Copy variable attributes from input file to output file

nc_copy_variable

Copy one NetCDF variable from one file to another

Error Handling

Routine

Function

nc_check_error

Handels NetCDF errors

UtilsLibrary/nc_utils.f90 (last edited 2017-01-26 12:42:02 by NicoleThomas)