SCALE-RM
|
module REAL input netCDF More...
Functions/Subroutines | |
subroutine, public | parentatmossetupnetcdf (dims, timelen, mixing_ratio, update_coord, mapping_info, qtrc_flag, lon_all, lat_all, basename_org, basename_num, same_mp_type, pt_dry, serial, do_read) |
Atmos Setup. More... | |
subroutine, public | parentatmosopennetcdf (basename_org, basename_num) |
Atmos Open. More... | |
subroutine, public | parentatmosfinalizenetcdf |
Atmos Finalize. More... | |
subroutine, public | parentatmosinputnetcdf (KA_org, KS_org, KE_org, IA_org, IS_org, IE_org, JA_org, JS_org, JE_org, QA, cz_org, w_org, u_org, v_org, pres_org, dens_org, temp_org, pt_org, qtrc_org, qv_org, rh_org, qhyd_org, qnum_org, nopres, nodens, uvmet, temp2pt, rh2qv, qnum_flag, same_mp_type, sfc_diagnoses, update_coord, dims, it) |
subroutine, public | parentlandsetupnetcdf (ldims, timelen, lon_all, lat_all, basename_org, basename_num, use_file_landwater, serial, do_read) |
Land Setup. More... | |
subroutine, public | parentlandopennetcdf (basename_org, basename_num) |
Land Open. More... | |
subroutine, public | parentlandfinalizenetcdf |
Land Finalize. More... | |
subroutine, public | parentlandinputnetcdf (KA_org, KS_org, KE_org, IA_org, IS_org, IE_org, JA_org, JS_org, JE_org, tg_org, strg_org, lst_org, ust_org, albg_org, topo_org, lmask_org, lz_org, use_file_landwater, ldims, it) |
subroutine, public | parentoceansetupnetcdf (odims, timelen, lon_all, lat_all, basename_org, basename_num, serial, do_read) |
Ocean Setup. More... | |
subroutine, public | parentoceanopennetcdf (basename_org, basename_num) |
Ocean Open. More... | |
subroutine, public | parentoceanfinalizenetcdf |
Ocean Finalize. More... | |
subroutine, public | parentoceaninputnetcdf (IA_org, IS_org, IE_org, JA_org, JS_org, JE_org, tw_org, sst_org, albw_org, z0w_org, omask_org, odims, it) |
subroutine | check_filetype (fid, FILE_TYPE, basename_org, SCALE_tile, subname) |
subroutine | read3d (KA_org, KS_org, KE_org, IA_org, IS_org, IE_org, JA_org, JS_org, JE_org, val, var, it, nfiles, fid, fids, scale_tile, scale_domid, exist) |
subroutine | read2d (IA_org, IS_org, IE_org, JA_org, JS_org, JE_org, val, var, it, nfiles, fid, fids, scale_tile, scale_domid, exist) |
subroutine | read1d (KA_org, val, var, it, fid, exist) |
module REAL input netCDF
name | type | default value | comment |
---|---|---|---|
ZNAME | character(len=32) | ||
ZHNAME | character(len=32) | ||
XNAME | character(len=32) | ||
XHNAME | character(len=32) | ||
YNAME | character(len=32) | ||
YHNAME | character(len=32) | ||
TNAME | character(len=32) |
name | type | default value | comment |
---|---|---|---|
ITEM | character(len=32) | ||
NAME | character(len=32) | ||
ZSTG | logical | ||
XSTG | logical | ||
YSTG | logical | ||
FACT | real(RP) | ||
OFFSET | real(RP) |
name | type | default value | comment |
---|---|---|---|
FILE_TYPE | character(len=*) | ||
NM_FILE | character(len=FILE_HLONG) | ||
MIXING_RATIO | logical | ||
SCALE_PARENT_PRC_NUM_X | integer | ||
SCALE_PARENT_PRC_NUM_Y | integer | ||
SCALE_LATLON_CATALOGUE | character(len=FILE_HLONG) |
name | type | default value | comment |
---|---|---|---|
MAPPING_NAME | character(len=H_SHORT) | ||
FALSE_EASTING | real(DP) | ||
FALSE_NORTHING | real(DP) | ||
LONGITUDE_OF_CENTRAL_MERIDIAN | real(DP) | ||
LONGITUDE_OF_PROJECTION_ORIGIN | real(DP) | ||
LATITUDE_OF_PROJECTION_ORIGIN | real(DP) | ||
STRAIGHT_VERTICAL_LONGITUDE_FROM_POLE | real(DP) | ||
STANDARD_PARALLEL | real(DP), dimension(2) | ||
ROTATION | real(DP) |
name | type | default value | comment |
---|---|---|---|
FILE_TYPE | character(len=*) | ||
NM_FILE | character(len=FILE_HLONG) | ||
SCALE_PARENT_PRC_NUM_X | integer | ||
SCALE_PARENT_PRC_NUM_Y | integer | ||
SCALE_LATLON_CATALOGUE | character(len=FILE_HLONG) |
name | type | default value | comment |
---|---|---|---|
FILE_TYPE | character(len=*) | ||
NM_FILE | character(len=FILE_HLONG) | ||
SCALE_MULTI_FILE | logical | .true. | |
SCALE_PARENT_PRC_NUM_X | integer | ||
SCALE_PARENT_PRC_NUM_Y | integer | ||
SCALE_LATLON_CATALOGUE | character(len=FILE_HLONG) |
subroutine, public mod_realinput_netcdf::parentatmossetupnetcdf | ( | integer, dimension(6), intent(out) | dims, |
integer, intent(out) | timelen, | ||
logical, intent(out) | mixing_ratio, | ||
logical, intent(out) | update_coord, | ||
type(mappinginfo), intent(out) | mapping_info, | ||
logical, dimension(qa), intent(out) | qtrc_flag, | ||
real(rp), dimension(:,:), intent(out), allocatable | lon_all, | ||
real(rp), dimension(:,:), intent(out), allocatable | lat_all, | ||
character(len=*), intent(in) | basename_org, | ||
character(len=*), intent(in) | basename_num, | ||
logical, intent(in) | same_mp_type, | ||
logical, intent(inout) | pt_dry, | ||
logical, intent(inout) | serial, | ||
logical, intent(inout) | do_read | ||
) |
Atmos Setup.
Definition at line 150 of file mod_realinput_netcdf.F90.
References check_filetype(), scale_comm_cartesc_nest::comm_cartesc_nest_domain_regist_file(), scale_comm_cartesc_nest::comm_cartesc_nest_parent_info(), scale_const::const_d2r, scale_const::const_grav, scale_const::const_undef, scale_file::file_get_dimlength(), scale_io::io_fid_conf, scale_io::io_get_available_fid(), scale_io::io_get_fname(), parentatmosopennetcdf(), scale_prc::prc_ismaster, scale_tracer::qa, mod_atmos_phy_mp_vars::qe_mp, mod_atmos_phy_mp_vars::qs_mp, read2d(), and scale_tracer::tracer_name.
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentatmosopennetcdf | ( | character(len=*), intent(in) | basename_org, |
character(len=*), intent(in) | basename_num | ||
) |
Atmos Open.
Definition at line 642 of file mod_realinput_netcdf.F90.
References scale_file::file_open().
Referenced by parentatmossetupnetcdf(), and mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentatmosfinalizenetcdf |
Atmos Finalize.
Definition at line 684 of file mod_realinput_netcdf.F90.
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentatmosinputnetcdf | ( | integer, intent(in) | KA_org, |
integer, intent(in) | KS_org, | ||
integer, intent(in) | KE_org, | ||
integer, intent(in) | IA_org, | ||
integer, intent(in) | IS_org, | ||
integer, intent(in) | IE_org, | ||
integer, intent(in) | JA_org, | ||
integer, intent(in) | JS_org, | ||
integer, intent(in) | JE_org, | ||
integer, intent(in) | QA, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(inout) | cz_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | w_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | u_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | v_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | pres_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | dens_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | temp_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | pt_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org,qa), intent(out) | qtrc_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | qv_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | rh_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org,n_hyd), intent(out) | qhyd_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org,n_hyd), intent(out) | qnum_org, | ||
logical, intent(out) | nopres, | ||
logical, intent(out) | nodens, | ||
logical, intent(out) | uvmet, | ||
logical, intent(out) | temp2pt, | ||
logical, intent(out) | rh2qv, | ||
logical, intent(out) | qnum_flag, | ||
logical, intent(in) | same_mp_type, | ||
logical, intent(in) | sfc_diagnoses, | ||
logical, intent(in) | update_coord, | ||
integer, dimension(6), intent(in) | dims, | ||
integer, intent(in) | it | ||
) |
Definition at line 727 of file mod_realinput_netcdf.F90.
References scale_const::const_undef, scale_atmos_hydrometeor::hyd_name, scale_tracer::k, scale_atmos_hydrometeor::n_hyd, scale_atmos_hydrometeor::num_name, scale_prc::prc_abort(), scale_tracer::qa, mod_atmos_phy_mp_vars::qe_mp, mod_atmos_phy_mp_vars::qs_mp, read2d(), read3d(), and scale_tracer::tracer_name.
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentlandsetupnetcdf | ( | integer, dimension(3), intent(out) | ldims, |
integer, intent(out) | timelen, | ||
real(rp), dimension(:,:), intent(out), allocatable | lon_all, | ||
real(rp), dimension(:,:), intent(out), allocatable | lat_all, | ||
character(len=*), intent(in) | basename_org, | ||
character(len=*), intent(in) | basename_num, | ||
logical, intent(in) | use_file_landwater, | ||
logical, intent(inout) | serial, | ||
logical, intent(inout) | do_read | ||
) |
Land Setup.
Definition at line 1375 of file mod_realinput_netcdf.F90.
References check_filetype(), scale_comm_cartesc_nest::comm_cartesc_nest_domain_regist_file(), scale_comm_cartesc_nest::comm_cartesc_nest_parent_info(), scale_const::const_d2r, scale_file::file_get_dimlength(), scale_io::io_fid_conf, scale_io::io_get_available_fid(), scale_io::io_get_fname(), parentlandopennetcdf(), scale_prc::prc_abort(), and read2d().
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentlandopennetcdf | ( | character(len=*), intent(in) | basename_org, |
character(len=*), intent(in) | basename_num | ||
) |
Land Open.
Definition at line 1662 of file mod_realinput_netcdf.F90.
References scale_file::file_open().
Referenced by parentlandsetupnetcdf(), and mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentlandfinalizenetcdf |
Land Finalize.
Definition at line 1703 of file mod_realinput_netcdf.F90.
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentlandinputnetcdf | ( | integer, intent(in) | KA_org, |
integer, intent(in) | KS_org, | ||
integer, intent(in) | KE_org, | ||
integer, intent(in) | IA_org, | ||
integer, intent(in) | IS_org, | ||
integer, intent(in) | IE_org, | ||
integer, intent(in) | JA_org, | ||
integer, intent(in) | JS_org, | ||
integer, intent(in) | JE_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | tg_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out) | strg_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | lst_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | ust_org, | ||
real(rp), dimension(ia_org,ja_org,n_rad_dir,n_rad_rgn), intent(out) | albg_org, | ||
real(rp), dimension(ia_org,ja_org), intent(inout) | topo_org, | ||
real(rp), dimension(ia_org,ja_org), intent(inout) | lmask_org, | ||
real(rp), dimension(ka_org), intent(inout) | lz_org, | ||
logical, intent(in) | use_file_landwater, | ||
integer, dimension(3), intent(in) | ldims, | ||
integer, intent(in) | it | ||
) |
Definition at line 1737 of file mod_realinput_netcdf.F90.
References scale_const::const_d2r, scale_const::const_undef, scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, read1d(), read2d(), and read3d().
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentoceansetupnetcdf | ( | integer, dimension(2), intent(out) | odims, |
integer, intent(out) | timelen, | ||
real(rp), dimension(:,:), intent(out), allocatable | lon_all, | ||
real(rp), dimension(:,:), intent(out), allocatable | lat_all, | ||
character(len=*), intent(in) | basename_org, | ||
character(len=*), intent(in) | basename_num, | ||
logical, intent(inout) | serial, | ||
logical, intent(inout) | do_read | ||
) |
Ocean Setup.
Definition at line 1906 of file mod_realinput_netcdf.F90.
References check_filetype(), scale_comm_cartesc_nest::comm_cartesc_nest_domain_regist_file(), scale_comm_cartesc_nest::comm_cartesc_nest_parent_info(), scale_const::const_d2r, scale_file::file_get_dimlength(), scale_io::io_fid_conf, scale_io::io_get_available_fid(), scale_io::io_get_fname(), parentoceanopennetcdf(), scale_prc::prc_abort(), and read2d().
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentoceanopennetcdf | ( | character(len=*), intent(in) | basename_org, |
character(len=*), intent(in) | basename_num | ||
) |
Ocean Open.
Definition at line 2177 of file mod_realinput_netcdf.F90.
References scale_file::file_open().
Referenced by parentoceansetupnetcdf(), and mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentoceanfinalizenetcdf |
Ocean Finalize.
Definition at line 2218 of file mod_realinput_netcdf.F90.
Referenced by mod_realinput::realinput_surface().
subroutine, public mod_realinput_netcdf::parentoceaninputnetcdf | ( | integer, intent(in) | IA_org, |
integer, intent(in) | IS_org, | ||
integer, intent(in) | IE_org, | ||
integer, intent(in) | JA_org, | ||
integer, intent(in) | JS_org, | ||
integer, intent(in) | JE_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | tw_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | sst_org, | ||
real(rp), dimension(ia_org,ja_org,n_rad_dir,n_rad_rgn), intent(out) | albw_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | z0w_org, | ||
real(rp), dimension(ia_org,ja_org), intent(inout) | omask_org, | ||
integer, dimension(2), intent(in) | odims, | ||
integer, intent(in) | it | ||
) |
Definition at line 2246 of file mod_realinput_netcdf.F90.
References scale_const::const_d2r, scale_const::const_undef, scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, and read2d().
Referenced by mod_realinput::realinput_surface().
subroutine mod_realinput_netcdf::check_filetype | ( | integer, intent(out) | fid, |
character(len=*), intent(inout) | FILE_TYPE, | ||
character(len=*), intent(in) | basename_org, | ||
logical, intent(out) | SCALE_tile, | ||
character(len=*), intent(in) | subname | ||
) |
Definition at line 2384 of file mod_realinput_netcdf.F90.
References scale_file::file_open(), and scale_prc::prc_abort().
Referenced by parentatmossetupnetcdf(), parentlandsetupnetcdf(), and parentoceansetupnetcdf().
subroutine mod_realinput_netcdf::read3d | ( | integer, intent(in) | KA_org, |
integer, intent(in) | KS_org, | ||
integer, intent(in) | KE_org, | ||
integer, intent(in) | IA_org, | ||
integer, intent(in) | IS_org, | ||
integer, intent(in) | IE_org, | ||
integer, intent(in) | JA_org, | ||
integer, intent(in) | JS_org, | ||
integer, intent(in) | JE_org, | ||
real(rp), dimension(ka_org,ia_org,ja_org), intent(out), target | val, | ||
class(*), intent(in), pointer | var, | ||
integer, intent(in) | it, | ||
integer, intent(in) | nfiles, | ||
integer, intent(in) | fid, | ||
integer, dimension(nfiles), intent(in) | fids, | ||
logical, intent(in) | scale_tile, | ||
integer, intent(in) | scale_domid, | ||
logical, intent(out), optional | exist | ||
) |
Definition at line 2469 of file mod_realinput_netcdf.F90.
References scale_comm_cartesc_nest::comm_cartesc_nest_domain_shape(), and scale_prc::prc_abort().
Referenced by parentatmosinputnetcdf(), and parentlandinputnetcdf().
subroutine mod_realinput_netcdf::read2d | ( | integer, intent(in) | IA_org, |
integer, intent(in) | IS_org, | ||
integer, intent(in) | IE_org, | ||
integer, intent(in) | JA_org, | ||
integer, intent(in) | JS_org, | ||
integer, intent(in) | JE_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out), target | val, | ||
class(*), intent(in), pointer | var, | ||
integer, intent(in) | it, | ||
integer, intent(in) | nfiles, | ||
integer, intent(in) | fid, | ||
integer, dimension(nfiles), intent(in) | fids, | ||
logical, intent(in) | scale_tile, | ||
integer, intent(in) | scale_domid, | ||
logical, intent(out), optional | exist | ||
) |
Definition at line 2787 of file mod_realinput_netcdf.F90.
References scale_comm_cartesc_nest::comm_cartesc_nest_domain_shape(), and scale_prc::prc_abort().
Referenced by parentatmosinputnetcdf(), parentatmossetupnetcdf(), parentlandinputnetcdf(), parentlandsetupnetcdf(), parentoceaninputnetcdf(), and parentoceansetupnetcdf().
subroutine mod_realinput_netcdf::read1d | ( | integer, intent(in) | KA_org, |
real(rp), dimension(ka_org), intent(out) | val, | ||
class(*), intent(in), pointer | var, | ||
integer, intent(in) | it, | ||
integer, intent(in) | fid, | ||
logical, intent(out), optional | exist | ||
) |
Definition at line 2991 of file mod_realinput_netcdf.F90.
References scale_prc::prc_abort().
Referenced by parentlandinputnetcdf().