PartMC  2.6.1
Modules | Functions/Subroutines
netcdf.F90 File Reference

The pmc_netcdf module. More...

Go to the source code of this file.

Modules

module  pmc_netcdf
 Wrapper functions for NetCDF. These all take a NetCDF ncid in data mode and return with it again in data mode. Shifting to define mode is handled internally within each subroutine.
 

Functions/Subroutines

subroutine pmc_netcdf::pmc_nc_check (status)
 Check the status of a NetCDF function call. More...
 
subroutine pmc_netcdf::pmc_nc_check_msg (status, error_msg)
 Check the status of a NetCDF function call and prints the given error message on failure. More...
 
subroutine pmc_netcdf::pmc_nc_open_read (filename, ncid)
 Open a NetCDF file for reading. More...
 
subroutine pmc_netcdf::pmc_nc_open_write (filename, ncid)
 Open a NetCDF file for writing. More...
 
subroutine pmc_netcdf::pmc_nc_close (ncid)
 Close a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_info (ncid, uuid, source, write_rank, write_n_proc)
 Write basic information to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_real (ncid, var, name, must_be_present)
 Read a single real from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_integer (ncid, var, name, must_be_present)
 Read a single integer from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_real_1d (ncid, var, name, must_be_present)
 Read a simple real array from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_integer_1d (ncid, var, name, must_be_present)
 Read a simple integer array from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_real_2d (ncid, var, name, must_be_present)
 Read a simple real 2D array from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_read_integer_2d (ncid, var, name, must_be_present)
 Read a simple integer 2D array from a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_atts (ncid, varid, unit, long_name, standard_name, description)
 Write attributes for a variable to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_real (ncid, var, name, unit, long_name, standard_name, description)
 Write a single real to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_integer (ncid, var, name, unit, long_name, standard_name, description)
 Write a single integer to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_ensure_dim (ncid, dim_name, dimid, dim_size, array_dim)
 Create a dimension if necessary, or check its size if it already exists. In any case return the dimid. More...
 
subroutine pmc_netcdf::pmc_nc_write_real_1d (ncid, var, name, dimids, dim_name, unit, long_name, standard_name, description)
 Write a simple real array to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_integer_1d (ncid, var, name, dimids, dim_name, unit, long_name, standard_name, description)
 Write a simple integer array to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_real_2d (ncid, var, name, dimids, dim_name_1, dim_name_2, unit, long_name, standard_name, description)
 Write a simple real 2D array to a NetCDF file. More...
 
subroutine pmc_netcdf::pmc_nc_write_integer_2d (ncid, var, name, dimids, dim_name_1, dim_name_2, unit, long_name, standard_name, description)
 Write a simple integer 2D array to a NetCDF file. More...
 

Detailed Description

The pmc_netcdf module.

Definition in file netcdf.F90.