Skip to content

Facilitating driving Raven from SPS #62

@huard

Description

@huard

Addressing a Problem?

SPS is ECCC's driver for land-surface schemes. It outputs surface fields in FST format, which we flip to netCDF. These are often massive files, like 4Gb per variable per year.

To run the Raven routing from SPS outputs, we need to feed Raven

  1. the sum of lateral flows and surface runoff as PRECIP;
  2. the groundwater recharge as RECHARGE;
  3. and surface temperature as TEMP_AVE.

There are two things that would reduce the amount of pre-processing required to run Raven:

  1. Adding new FORCING variables that would map to surface runoff and lateral flows. They would be added together to generate PRECIP. This would avoid having to create a new variable on disk that is just a sum of two variables.
  2. Adding support for vertical levels in GriddedForcing. We would specify :ElevationVarNameNC and a new command, e.g. :ElevationIndexNC. This would avoid having to make copies of a single level to drive Raven. In our case it's not really an elevation, but conceptually it would work the same.

Potential Solution

No response

Additional context

No response

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions