SCALE-RM
|
module LANDUSE More...
Functions/Subroutines | |
subroutine, public | landuse_setup (OCEAN_do, URBAN_do, LAKE_do) |
Setup. More... | |
subroutine, public | landuse_calc_fact |
subroutine, public | landuse_fillhalo (FILL_BND) |
HALO Communication. More... | |
subroutine, public | landuse_write |
Write landuse data. More... | |
Variables | |
real(rp), dimension(:,:), allocatable, public | landuse_fact_ocean |
ocean factor More... | |
real(rp), dimension(:,:), allocatable, public | landuse_fact_land |
land factor More... | |
real(rp), dimension(:,:), allocatable, public | landuse_fact_urban |
urban factor More... | |
real(rp), dimension(:,:), allocatable, public | landuse_fact_lake |
lake factor More... | |
logical, dimension(:,:), allocatable, public | landuse_exists_ocean |
ocean calculation flag More... | |
logical, dimension(:,:), allocatable, public | landuse_exists_land |
land calculation flag More... | |
logical, dimension(:,:), allocatable, public | landuse_exists_urban |
urban calculation flag More... | |
logical, dimension(:,:), allocatable, public | landuse_exists_lake |
lake calculation flag More... | |
real(rp), dimension(:,:), allocatable, public | landuse_frac_land |
land fraction More... | |
real(rp), dimension(:,:), allocatable, public | landuse_frac_urban |
urban fraction More... | |
real(rp), dimension(:,:), allocatable, public | landuse_frac_lake |
lake fraction More... | |
integer, parameter, public | landuse_index_ocean = 0 |
ocean index More... | |
integer, parameter, public | landuse_index_urban = -1 |
urban index More... | |
integer, parameter, public | landuse_index_lake = -2 |
lake index More... | |
integer, parameter, public | landuse_pft_nmin = -2 |
minimum number of PFT type More... | |
integer, public | landuse_pft_nmax = 17 |
number of plant functional type(PFT) More... | |
integer, public | landuse_pft_mosaic = 2 |
number of PFT mosaic More... | |
real(rp), dimension(:,:,:), allocatable, public | landuse_frac_pft |
fraction of PFT for each mosaic More... | |
integer, dimension(:,:,:), allocatable, public | landuse_index_pft |
index of PFT for each mosaic More... | |
module LANDUSE
name | type | default value | comment |
---|---|---|---|
LANDUSE_IN_BASENAME | character(len=H_LONG) | '' | basename of the input file |
LANDUSE_IN_AGGREGATE | logical | switch to use aggregated file | |
LANDUSE_IN_CHECK_COORDINATES | logical | .true. | switch for check of coordinates |
LANDUSE_OUT_BASENAME | character(len=H_LONG) | '' | basename of the output file |
LANDUSE_OUT_AGGREGATE | logical | switch to use aggregated file | |
LANDUSE_OUT_DTYPE | character(len=H_SHORT) | 'DEFAULT' | REAL4 or REAL8 |
LANDUSE_PFT_MOSAIC | integer | 2 | number of PFT mosaic |
LANDUSE_PFT_NMAX | integer | 17 | number of plant functional type(PFT) |
LANDUSE_ALLOCEAN | logical | .false. | |
LANDUSE_ALLLAND | logical | .false. | |
LANDUSE_ALLURBAN | logical | .false. | |
LANDUSE_ALLLAKE | logical | .false. | |
LANDUSE_IGNORE_LAKE | logical | .false. | |
LANDUSE_MOSAICWORLD | logical | .false. |
subroutine, public scale_landuse::landuse_setup | ( | logical, intent(in) | OCEAN_do, |
logical, intent(in) | URBAN_do, | ||
logical, intent(in) | LAKE_do | ||
) |
Setup.
Definition at line 101 of file scale_landuse.F90.
References scale_file::file_aggregate, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, landuse_calc_fact(), landuse_exists_lake, landuse_exists_land, landuse_exists_ocean, landuse_exists_urban, landuse_fact_lake, landuse_fact_land, landuse_fact_ocean, landuse_fact_urban, landuse_frac_lake, landuse_frac_land, landuse_frac_pft, landuse_frac_urban, landuse_index_lake, landuse_index_pft, landuse_index_urban, landuse_pft_mosaic, landuse_pft_nmax, and scale_prc::prc_abort().
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine, public scale_landuse::landuse_calc_fact | ( | ) |
Definition at line 239 of file scale_landuse.F90.
References scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ja, landuse_exists_lake, landuse_exists_land, landuse_exists_ocean, landuse_exists_urban, landuse_fact_lake, landuse_fact_land, landuse_fact_ocean, landuse_fact_urban, landuse_frac_lake, landuse_frac_land, and landuse_frac_urban.
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_setup(), and mod_mkinit::read_sounding().
subroutine, public scale_landuse::landuse_fillhalo | ( | logical, intent(in), optional | FILL_BND | ) |
HALO Communication.
Definition at line 271 of file scale_landuse.F90.
References scale_file_cartesc::file_cartesc_close(), scale_file_cartesc::file_cartesc_flush(), scale_file_cartesc::file_cartesc_open(), scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, landuse_fact_lake, landuse_fact_land, landuse_fact_ocean, landuse_fact_urban, landuse_frac_lake, landuse_frac_land, landuse_frac_pft, landuse_frac_urban, landuse_index_lake, landuse_index_pft, landuse_index_urban, landuse_pft_mosaic, and scale_prc::prc_abort().
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_write(), and mod_mkinit::read_sounding().
subroutine, public scale_landuse::landuse_write | ( | ) |
Write landuse data.
Definition at line 501 of file scale_landuse.F90.
References scale_file_cartesc::file_cartesc_close(), scale_file_cartesc::file_cartesc_create(), scale_file_cartesc::file_cartesc_def_var(), scale_file_cartesc::file_cartesc_enddef(), landuse_fact_lake, landuse_fact_land, landuse_fact_ocean, landuse_fact_urban, landuse_fillhalo(), landuse_frac_lake, landuse_frac_land, landuse_frac_pft, landuse_frac_urban, and landuse_pft_mosaic.
Referenced by mod_admin_restart::admin_restart_write(), mod_cnvlanduse::cnvlanduse(), and mod_mkinit::read_sounding().
real(rp), dimension(:,:), allocatable, public scale_landuse::landuse_fact_ocean |
ocean factor
Definition at line 44 of file scale_landuse.F90.
Referenced by mod_atmos_phy_rd_driver::atmos_phy_rd_driver_calc_tendency(), mod_cnvtopo::cnvtopo(), mod_copytopo::copytopo(), mod_cpl_vars::cpl_getsfc_atm(), mod_cpl_vars::cpl_vars_setup(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), landuse_write(), and mod_realinput::realinput_surface().
real(rp), dimension (:,:), allocatable, public scale_landuse::landuse_fact_land |
land factor
Definition at line 45 of file scale_landuse.F90.
Referenced by mod_atmos_phy_rd_driver::atmos_phy_rd_driver_calc_tendency(), mod_cpl_vars::cpl_getsfc_atm(), mod_cpl_vars::cpl_vars_setup(), mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), landuse_write(), and mod_realinput::realinput_surface().
real(rp), dimension(:,:), allocatable, public scale_landuse::landuse_fact_urban |
urban factor
Definition at line 46 of file scale_landuse.F90.
Referenced by mod_atmos_phy_rd_driver::atmos_phy_rd_driver_calc_tendency(), mod_cpl_vars::cpl_getsfc_atm(), mod_cpl_vars::cpl_vars_setup(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), landuse_write(), mod_realinput::realinput_surface(), mod_urban_driver::urban_driver_calc_tendency(), and mod_urban_driver::urban_driver_update().
real(rp), dimension (:,:), allocatable, public scale_landuse::landuse_fact_lake |
lake factor
Definition at line 47 of file scale_landuse.F90.
Referenced by mod_cpl_vars::cpl_vars_setup(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), and landuse_write().
logical, dimension(:,:), allocatable, public scale_landuse::landuse_exists_ocean |
ocean calculation flag
Definition at line 49 of file scale_landuse.F90.
Referenced by landuse_calc_fact(), landuse_setup(), mod_ocean_driver::ocean_driver_calc_tendency(), and mod_ocean_driver::ocean_driver_update().
logical, dimension (:,:), allocatable, public scale_landuse::landuse_exists_land |
land calculation flag
Definition at line 50 of file scale_landuse.F90.
Referenced by mod_land_driver::land_driver_calc_tendency(), landuse_calc_fact(), and landuse_setup().
logical, dimension(:,:), allocatable, public scale_landuse::landuse_exists_urban |
urban calculation flag
Definition at line 51 of file scale_landuse.F90.
Referenced by landuse_calc_fact(), and landuse_setup().
logical, dimension (:,:), allocatable, public scale_landuse::landuse_exists_lake |
lake calculation flag
Definition at line 52 of file scale_landuse.F90.
Referenced by landuse_calc_fact(), and landuse_setup().
real(rp), dimension (:,:), allocatable, public scale_landuse::landuse_frac_land |
land fraction
Definition at line 54 of file scale_landuse.F90.
Referenced by scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_update_z(), mod_cnvlanduse::cnvlanduse(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), landuse_write(), mod_mkinit::read_sounding(), and mod_realinput::realinput_surface().
real(rp), dimension(:,:), allocatable, public scale_landuse::landuse_frac_urban |
urban fraction
Definition at line 55 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), landuse_write(), and mod_mkinit::read_sounding().
real(rp), dimension (:,:), allocatable, public scale_landuse::landuse_frac_lake |
lake fraction
Definition at line 56 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_calc_fact(), landuse_fillhalo(), landuse_setup(), and landuse_write().
integer, parameter, public scale_landuse::landuse_index_ocean = 0 |
ocean index
Definition at line 58 of file scale_landuse.F90.
integer, parameter, public scale_landuse::landuse_index_urban = -1 |
urban index
Definition at line 59 of file scale_landuse.F90.
Referenced by landuse_fillhalo(), and landuse_setup().
integer, parameter, public scale_landuse::landuse_index_lake = -2 |
lake index
Definition at line 60 of file scale_landuse.F90.
Referenced by landuse_fillhalo(), and landuse_setup().
integer, parameter, public scale_landuse::landuse_pft_nmin = -2 |
minimum number of PFT type
Definition at line 62 of file scale_landuse.F90.
Referenced by mod_land_vars::land_vars_setup(), and mod_land_vars::land_vars_total().
integer, public scale_landuse::landuse_pft_nmax = 17 |
number of plant functional type(PFT)
Definition at line 63 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), mod_land_vars::land_vars_setup(), mod_land_vars::land_vars_total(), and landuse_setup().
integer, public scale_landuse::landuse_pft_mosaic = 2 |
number of PFT mosaic
Definition at line 64 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_fillhalo(), landuse_setup(), and landuse_write().
real(rp), dimension (:,:,:), allocatable, public scale_landuse::landuse_frac_pft |
fraction of PFT for each mosaic
Definition at line 66 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), landuse_fillhalo(), landuse_setup(), and landuse_write().
integer, dimension(:,:,:), allocatable, public scale_landuse::landuse_index_pft |
index of PFT for each mosaic
Definition at line 67 of file scale_landuse.F90.
Referenced by mod_cnvlanduse::cnvlanduse(), mod_land_vars::land_vars_setup(), landuse_fillhalo(), and landuse_setup().