chgres_cube  1.8.0
All Data Structures Namespaces Files Functions Variables Pages
input_data.F90 File Reference

Read atmospheric and surface data from GRIB2, NEMSIO and NetCDF files. More...

Go to the source code of this file.

Modules

module  input_data
 Read atmospheric, surface and nst data on the input grid.
 

Functions/Subroutines

subroutine input_data::calcalpha_rotlatlon (latgrid, longrid, cenlat, cenlon, alpha)
 Calculate rotation angle for rotated latlon grids. More...
 
subroutine, public input_data::check_cnwat (cnwat)
 When using GEFS data, some points on the target grid have unreasonable canpy moisture content, so zero out any locations with unrealistic canopy moisture values (>0.5). More...
 
subroutine, public input_data::check_soilt (soilt, landmask, skint)
 Check for and replace certain values in soil temperature. More...
 
subroutine, public input_data::cleanup_input_atm_data
 Free up memory associated with atm data. More...
 
subroutine, public input_data::cleanup_input_nst_data
 Free up memory associated with nst data. More...
 
subroutine, public input_data::cleanup_input_sfc_data
 Free up memory associated with sfc data. More...
 
subroutine, public input_data::convert_winds
 Convert winds from 2-d to 3-d components. More...
 
subroutine, public input_data::DINT2P (PPIN, XXIN, NPIN, PPOUT, XXOUT, NPOUT, LINLOG, XMSG, IER)
 Pressure to presure vertical interpolation for tracers with linear or lnP interpolation. More...
 
subroutine input_data::gridrot (lov, latin1, latin2, lon, rot)
 Compute grid rotation angle for non-latlon grids. More...
 
subroutine input_data::handle_grib_error (vname, lev, method, value, varnum, iret, var, var8, var3d)
 Handle GRIB2 read error based on the user selected method in the varmap file. More...
 
subroutine input_data::init_atm_esmf_fields
 Create atmospheric esmf fields. More...
 
subroutine, public input_data::init_sfc_esmf_fields
 Create surface input grid esmf fields. More...
 
recursive subroutine, public input_data::quicksort (a, first, last)
 Sort an array of values. More...
 
subroutine input_data::READ_FV3_GRID_DATA_NETCDF (FIELD, TILE_NUM, IMO, JMO, LMO, SFCDATA, SFCDATA_3D)
 Read a record from a netcdf file. More...
 
subroutine input_data::read_grib_soil (vname, vname_file, lugb, pdt_num, dummy3d)
 Read soil temperature and soil moisture fields from a GRIB2 file. More...
 
subroutine, public input_data::read_input_atm_data (localpet)
 Read input grid atmospheric data driver. More...
 
subroutine input_data::read_input_atm_gaussian_nemsio_file (localpet)
 Read input grid atmospheric fv3 gaussian nemsio files. More...
 
subroutine input_data::read_input_atm_gaussian_netcdf_file (localpet)
 Read fv3 netcdf gaussian history file. More...
 
subroutine input_data::read_input_atm_gfs_gaussian_nemsio_file (localpet)
 Read input atmospheric data from spectral gfs (global gaussian in nemsio format. More...
 
subroutine input_data::read_input_atm_gfs_sigio_file (localpet)
 Read input atmospheric data from spectral gfs (old sigio format). More...
 
subroutine input_data::read_input_atm_grib2_file (localpet)
 Read input grid atmospheric fv3gfs grib2 files. More...
 
subroutine input_data::read_input_atm_restart_file (localpet)
 Read input grid fv3 atmospheric data 'warm' restart files. More...
 
subroutine input_data::read_input_atm_tiled_history_file (localpet)
 Read input grid fv3 atmospheric tiled history files in netcdf format. More...
 
subroutine, public input_data::read_input_nst_data (localpet)
 Driver to read input grid nst data. More...
 
subroutine input_data::read_input_nst_nemsio_file (localpet)
 Read input grid nst data from fv3 gaussian nemsio history file or spectral GFS nemsio file. More...
 
subroutine input_data::read_input_nst_netcdf_file (localpet)
 Read nst data from these netcdf formatted fv3 files: tiled history, tiled warm restart, and gaussian history. More...
 
subroutine, public input_data::read_input_sfc_data (localpet)
 Driver to read input grid surface data. More...
 
subroutine input_data::read_input_sfc_gaussian_nemsio_file (localpet)
 Read input grid surface data from an fv3 gaussian nemsio file. More...
 
subroutine input_data::read_input_sfc_gfs_gaussian_nemsio_file (localpet)
 Read input grid surface data from a spectral gfs gaussian nemsio file. More...
 
subroutine input_data::read_input_sfc_gfs_sfcio_file (localpet)
 Read input grid surface data from a spectral gfs gaussian sfcio file. More...
 
subroutine input_data::read_input_sfc_grib2_file (localpet)
 Read input grid surface data from a grib2 file. More...
 
subroutine input_data::read_input_sfc_netcdf_file (localpet)
 Read input grid surface data from tiled 'history' files (netcdf) or gaussian netcdf files. More...
 
subroutine input_data::read_input_sfc_restart_file (localpet)
 Read input grid surface data from fv3 tiled warm 'restart' files. More...
 
subroutine input_data::read_winds (u, v, localpet, octet_23, rlevs, lugb, pdt_num)
 Read winds from a grib2 file. More...
 

Variables

type(esmf_field), public input_data::c_0_input_grid
 Coefficient 1 to calculate d(tz)/d(ts) More...
 
type(esmf_field), public input_data::c_d_input_grid
 Coefficient 2 to calculate d(tz)/d(ts) More...
 
type(esmf_field), public input_data::canopy_mc_input_grid
 canopy moist content More...
 
type(esmf_field), public input_data::d_conv_input_grid
 Thickness of free convection layer. More...
 
type(esmf_field) input_data::dpres_input_grid
 pressure thickness More...
 
type(esmf_field), public input_data::dt_cool_input_grid
 Sub-layer cooling amount. More...
 
type(esmf_field), public input_data::dzdt_input_grid
 vert velocity More...
 
type(esmf_field), public input_data::f10m_input_grid
 log((z0+10)*1/z0) More...
 
type(esmf_field), public input_data::ffmm_input_grid
 log((z0+z1)*1/z0) See sfc_diff.f for details. More...
 
integer, parameter input_data::icet_default = 265.0
 Default value of soil and skin temperature (K) over ice. More...
 
type(esmf_field), public input_data::ifd_input_grid
 Model mode index. More...
 
type(esmf_field), public input_data::lai_input_grid
 leaf area index More...
 
type(esmf_field), public input_data::landsea_mask_input_grid
 land sea mask; 0-water, 1-land, 2-ice More...
 
integer, public input_data::lev_input
 number of atmospheric layers More...
 
integer, public input_data::levp1_input
 number of atmos layer interfaces More...
 
integer, public input_data::lsoil_input =4
 number of soil layers, no longer hardwired to allow for 7 layers of soil for the RUC LSM More...
 
type(esmf_field), public input_data::max_veg_greenness_input_grid
 shdmax More...
 
type(esmf_field), public input_data::min_veg_greenness_input_grid
 shdmin More...
 
type(esmf_field), public input_data::pres_input_grid
 3-d pressure More...
 
type(esmf_field), public input_data::ps_input_grid
 surface pressure More...
 
type(esmf_field), public input_data::q2m_input_grid
 2-m spec hum More...
 
type(esmf_field), public input_data::qrain_input_grid
 Sensible heat flux due to rainfall. More...
 
type(esmf_field), public input_data::seaice_depth_input_grid
 sea ice depth More...
 
type(esmf_field), public input_data::seaice_fract_input_grid
 sea ice fraction More...
 
type(esmf_field), public input_data::seaice_skin_temp_input_grid
 sea ice skin temp More...
 
type(esmf_field), public input_data::skin_temp_input_grid
 skin temp/sst More...
 
character(len=50), dimension(:), allocatable, private input_data::slevs
 The atmospheric levels in the GRIB2 input file. More...
 
type(esmf_field), public input_data::snow_depth_input_grid
 snow dpeth More...
 
type(esmf_field), public input_data::snow_liq_equiv_input_grid
 snow liq equiv depth More...
 
type(esmf_field), public input_data::soil_temp_input_grid
 3-d soil temp More...
 
type(esmf_field), public input_data::soil_type_input_grid
 soil type More...
 
type(esmf_field), public input_data::soilm_liq_input_grid
 3-d liquid soil moisture More...
 
type(esmf_field), public input_data::soilm_tot_input_grid
 3-d total soil moisture More...
 
type(esmf_field), public input_data::srflag_input_grid
 snow/rain flag More...
 
type(esmf_field), public input_data::t2m_input_grid
 2-m temperature More...
 
type(esmf_field), public input_data::temp_input_grid
 temperature More...
 
type(esmf_field), public input_data::terrain_input_grid
 terrain height More...
 
type(esmf_field), public input_data::tprcp_input_grid
 precip More...
 
type(esmf_field), dimension(:), allocatable, public input_data::tracers_input_grid
 tracers More...
 
type(esmf_field), public input_data::tref_input_grid
 Reference temperature. More...
 
type(esmf_field), public input_data::u_input_grid
 u/v wind at grid More...
 
type(esmf_field), public input_data::ustar_input_grid
 fric velocity More...
 
type(esmf_field), public input_data::v_input_grid
 box center More...
 
type(esmf_field), public input_data::veg_greenness_input_grid
 vegetation fraction More...
 
type(esmf_field), public input_data::veg_type_input_grid
 vegetation type More...
 
integer, public input_data::veg_type_landice_input = 15
 NOAH land ice option defined at this veg type. More...
 
type(esmf_field), public input_data::w_0_input_grid
 Coefficient 3 to calculate d(tz)/d(ts) More...
 
type(esmf_field), public input_data::w_d_input_grid
 Coefficient 4 to calculate d(tz)/d(ts) More...
 
type(esmf_field), public input_data::wind_input_grid
 3-component wind More...
 
type(esmf_field), public input_data::xs_input_grid
 Salinity content in diurnal thermocline layer. More...
 
type(esmf_field), public input_data::xt_input_grid
 Heat content in diurnal thermocline layer. More...
 
type(esmf_field), public input_data::xtts_input_grid
 d(xt)/d(ts) More...
 
type(esmf_field), public input_data::xu_input_grid
 u-current content in diurnal thermocline layer More...
 
type(esmf_field), public input_data::xv_input_grid
 v-current content in diurnal thermocline layer More...
 
type(esmf_field), public input_data::xz_input_grid
 Diurnal thermocline layer thickness. More...
 
type(esmf_field), public input_data::xzts_input_grid
 d(xz)/d(ts) More...
 
type(esmf_field), public input_data::z0_input_grid
 roughness length More...
 
type(esmf_field), public input_data::z_c_input_grid
 Sub-layer cooling thickness. More...
 
type(esmf_field), public input_data::zm_input_grid
 Oceanic mixed layer depth. More...
 

Detailed Description

Read atmospheric and surface data from GRIB2, NEMSIO and NetCDF files.

Author
George Gayno NCEP/EMC

Definition in file input_data.F90.