global_cycle 1.14.0
Loading...
Searching...
No Matches
read_write_data.f90 File Reference

Contains utility routines that read and write data. More...

Go to the source code of this file.

Data Types

type  read_write_data::nsst_data
 

Modules

module  read_write_data
 This module contains routines that read and write data.
 

Functions/Subroutines

subroutine, public read_write_data::get_dim_nc (filename, nlat, nlon)
 Get the i/j dimensions of the data from a NetCDF file.
 
subroutine, public read_write_data::get_tf_clm_dim (file_sst, mlat_sst, mlon_sst)
 Get the i/j dimensions of RTG SST climatology file.
 
subroutine read_write_data::nc_check (status)
 Check the NetCDF status code.
 
subroutine read_write_data::netcdf_err (err, string)
 If a NetCDF call returns an error, print out a user-supplied message and the NetCDF library message.
 
subroutine, public read_write_data::read_data (lsoil, lensfc, do_nsst, is_noahmp, fname_inc, tsffcs, smcfcs, swefcs, stcfcs, tg3fcs, zorfcs, cvfcs, cvbfcs, cvtfcs, albfcs, vegfcs, slifcs, cnpfcs, f10m, vetfcs, sotfcs, alffcs, ustar, fmm, fhh, sihfcs, sicfcs, sitfcs, tprcp, srflag, sndfcs, vmnfcs, vmxfcs, slcfcs, stcinc, slcinc, lsoil_incr, slpfcs, absfcs, t2m, q2m, slmask, zsoil, nsst)
 Read the first guess surface records and nsst records (if selected) for a single cubed-sphere tile.
 
subroutine, public read_write_data::read_gsi_data (gsi_file, file_type, lsoil)
 Read increment file from the GSI containing either the foundation temperature increments and mask, or the soil increments.
 
subroutine, public read_write_data::read_lat_lon_orog (rla, rlo, orog, orog_uf, tile_num, idim, jdim, ijdim, landfrac, lakefrac)
 Read latitude and longitude for the cubed-sphere tile from the 'grid' file.
 
subroutine, public read_write_data::read_salclm_gfs_nc (filename, sal, xlats, xlons, nlat, nlon, itime)
 Read the woa05 salinity monthly climatology file.
 
subroutine, public read_write_data::read_tf_clim_grb (file_sst, sst, rlats_sst, rlons_sst, mlat_sst, mlon_sst, mon)
 Read a GRIB1 sst climatological analysis file.
 
subroutine read_write_data::remove_checksum (ncid, id_var)
 Remove the checksum attribute from a netcdf record.
 
subroutine, public read_write_data::write_data (lensfc, idim, jdim, lsoil, do_nsst, inc_file, nsst, slifcs, tsffcs, vegfcs, swefcs, tg3fcs, zorfcs, albfcs, alffcs, cnpfcs, f10m, t2m, q2m, vetfcs, sotfcs, ustar, fmm, fhh, sicfcs, sihfcs, sitfcs, tprcp, srflag, swdfcs, vmnfcs, vmxfcs, slpfcs, absfcs, slcfcs, smcfcs, stcfcs, stcinc, slcinc)
 Update surface records - and nsst records if selected - on a single cubed-sphere tile to a pre-existing model restart file (in netcdf).
 

Variables

real, dimension(:,:), allocatable, public read_write_data::dtref_gaus
 GSI foundation temperature increment on the gaussian grid.
 
integer, public read_write_data::idim_gaus
 'i' dimension of GSI gaussian grid.
 
integer, public read_write_data::jdim_gaus
 'j' dimension of GSI gaussian grid.
 
real, dimension(:,:,:), allocatable, public read_write_data::slc_inc_gaus
 GSI soil moisture increments on the gaussian grid.
 
integer, dimension(:,:), allocatable, public read_write_data::slmsk_gaus
 GSI land mask on the gaussian grid.
 
integer, dimension(:,:), allocatable, public read_write_data::soilsnow_gaus
 GSI soil / snow mask for land on the gaussian grid.
 
real, dimension(:,:,:), allocatable, public read_write_data::stc_inc_gaus
 GSI soil temperature increments on the gaussian grid.
 

Detailed Description

Contains utility routines that read and write data.

Author
Xu Li, Hang Lei, George Gayno NOAA/EMC

Definition in file read_write_data.f90.


Data Type Documentation

◆ read_write_data::nsst_data

type read_write_data::nsst_data

Definition at line 16 of file read_write_data.f90.

Data Fields
real, dimension(:), allocatable c_0
real, dimension(:), allocatable c_d
real, dimension(:), allocatable d_conv
real, dimension(:), allocatable dt_cool
real, dimension(:), allocatable ifd
real, dimension(:), allocatable qrain
real, dimension(:), allocatable tfinc
real, dimension(:), allocatable tref
real, dimension(:), allocatable w_0
real, dimension(:), allocatable w_d
real, dimension(:), allocatable xs
real, dimension(:), allocatable xt
real, dimension(:), allocatable xtts
real, dimension(:), allocatable xu
real, dimension(:), allocatable xv
real, dimension(:), allocatable xz
real, dimension(:), allocatable xzts
real, dimension(:), allocatable z_c
real, dimension(:), allocatable zm