Skip to content

iHAMOCC structure for reading climatology input data from files #161

@TomasTorsvik

Description

@TomasTorsvik

In iHAMOCC there is not a clear convention for reading climatology input data from files. For n-deposition this is done in three stages:

  1. read input data in hamocc_init : call ini_ndep
  2. get data for current month in hamocc_step : call get_ndep
  3. compute the N-deposition in hamocc4bcm : call n-deposition

For swa_clim short-wave climatology, it is assumed that there is no temporal variation, only grid dependence.

For surface PI pH field used to compute pH dependent DMS, the input file is specified as MONTHLY_PI_PH.nc, which is read in hamocc_init and used in ocprod. This input data is assumed to be monthly climatology.

River input does not include temporal variation, only grid dependence.

Some questions / considerations / suggestions:

  1. Should all temporal dependencies be handled within hamocc_step? The temporal information flows from BLOM to iHAMOCC. Could we separate all processes that depends on specific year-month-day in a separate routine in hamocc_step, before calling hamocc4bcm? Would this be a useful structure to aim for?
  2. Should we create a structure that will allow all input climatology fields to have a monthly variability? Should we accommodate a more generalized input data structure (yearly or yearly-monthly climatology)?
  3. Should we make a generalized structure for all climatology input files, or create solutions on a case-by-case basis? Different input data may have different structure (e.g. 2D, 3D), but all input data should already be interpolated on the model grid.
  4. Should we support / enforce a specific input data naming convention or directory structure to inform about the spatial (grid) and temporal specifications?

Metadata

Metadata

Assignees

Labels

iHAMOCCIssue mainly concerns the iHAMOCC code base

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions