global_cycle  1.8.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, 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)
 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, public READ_WRITE_DATA::write_data (slifcs, tsffcs, swefcs, tg3fcs, zorfcs, albfcs, alffcs, vegfcs, cnpfcs, f10m, t2m, q2m, vetfcs, sotfcs, ustar, fmm, fhh, sicfcs, sihfcs, sitfcs, tprcp, srflag, swdfcs, vmnfcs, vmxfcs, slpfcs, absfcs, slcfcs, smcfcs, stcfcs, idim, jdim, lensfc, lsoil, do_nsst, nsst)
 Write out all surface records - and nsst records if selected - on a single cubed-sphere tile to a 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...
 
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