global_cycle  1.13.0
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. More...
 
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. More...
 
subroutine read_write_data::nc_check (status)
 Check the NetCDF status code. More...
 
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. More...
 
subroutine, public read_write_data::read_data (LSOIL, LENSFC, DO_NSST, INC_FILE, IS_NOAHMP, 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, SLPFCS, ABSFCS, T2M, Q2M, SLMASK, ZSOIL, NSST)
 Read the first guess surface records and nsst records (if selected) for a single cubed-sphere tile. More...
 
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. More...
 
subroutine, public read_write_data::read_lat_lon_orog (RLA, RLO, OROG, OROG_UF, TILE_NUM, IDIM, JDIM, IJDIM, LANDFRAC)
 Read latitude and longitude for the cubed-sphere tile from the 'grid' file. More...
 
subroutine, public read_write_data::read_salclm_gfs_nc (filename, sal, xlats, xlons, nlat, nlon, itime)
 Read the woa05 salinity monthly climatology file. More...
 
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. More...
 
subroutine read_write_data::remove_checksum (ncid, id_var)
 Remove the checksum attribute from a netcdf record. More...
 
subroutine, public read_write_data::write_data (lensfc, idim, jdim, lsoil, do_nsst, 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)
 Update surface records - and nsst records if selected - on a single cubed-sphere tile to a pre-existing model restart file (in netcdf). More...
 

Variables

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

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