Skip to content

jhan_Tickets_6.19

JhanSrbinovsky edited this page Nov 9, 2021 · 1 revision

This ticket establishes the vegetation (veg%) and soil (soil%) parameters to be passed down to CABLE.

The veg% and soil% type members are defined per cell. They are read from a namelist as per PFT (vegin%), or per soil type (soilin%), which are then spatially mapped.

This ticket is documented as part 1 and part 2. Part 1 - being establishing vegin/soilin. Part 2 - being the mapping of types vegin/soilin to types veg/soil.

Part One

CABLE requires a set of parameters defining both surface cover (veg and non-veg) and soil properties. This was previously implemented and available in the trunk. However, the way it was implemented did not facilitate initializing the vector representation of these parameters as required by CABLE. In the trunk implementation the parameters are defined in a namelist and read in, in the files init_pftparm_cable.inc, init_soilarm_cable.inc. The variables (members of type vegin_type, soilin_type) were defined in these *.inc files and as such were not available outside of this "module". Therefore they could not be used to map onto fields actually used by CABLE.

We have rectified this by declaring vegin_type, soilin_type in a separate and accessible module(s) (soilin_pars_cbl.F90, vegin_pars_cbl.F90) We have renamed/moved the .inc files to be more appropriate (init_vegin_cbl.inc, init_soilin_cbl.inc).

Branch:

@TRAC

With reference to changeset of the ticketed branch (inclusive of revisions covering branch from trunk to HEAD):

[ changeset]

All of the files appearing in the changest appear here in an order that better suits documentation.

The changes described above are contained in:

trunk/src/initialisation/cable/init_pftparm_cable.inc
branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/initialisation/cable/init_vegin_cable.inc
trunk/src/initialisation/standalone/params/init_soilparm_cable.inc
branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/initialisation/cable/init_soilin_cable.inc
branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/control/cable/shared/soilin_cbl_pars_mod.F90
branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/control/cable/shared/vegin_cbl_pars_mod.F90

init_params_mod.F90 is the file where the .inc files were #include(d). As thee names of the .incfiles were changed, so was this file.

branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/initialisation/standalone/params/init_params_mod.F90 (2 diffs)

This file has been moved to a more appropriate location (given what other files are on the way as well). And been modified to include dimension parameters required in declaring vegin_type, soilin_type.

trunk/src/initialisation/cable/grid_constants_cbl.F90

branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/initialisation/cable/grid
branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/initialisation/cable/grid/grid_constants_cbl.F90

And been modified to remove dimension parameters previossly and inconsistently USEd in declaring vegin_type, soilin_type.

branches/dev/jhansrbinovsky/vn6.19_paramsANDstructure_draft5/src/params/shared/cable_other_constants_mod.F90 (1 diff)

A trivial mod has been made here to accommodate a dimension name change

control/cable/shared/progs_cbl_vars_mod.F90

Redundant file deleted.

trunk/src/control/shared/cable_prognostic_info_mod.F90

Part Two

Clone this wiki locally