Add data runoff from GLOFAS or JRA to the Run#
GLOFAS & JRA ships as part of the CESM
Add DROF%GLOFAS or DROF%JRA to the compset
Pass in the ESMF Mesh File for the dataset to configure_forcings to get the mapping from the GLOFAS data to your domain (will take time and resources)
See below for an example
from CrocoDash.case import Case
case = Case(
cesmroot = cesmroot,
caseroot = caseroot,
inputdir = inputdir,
ocn_grid = grid,
ocn_vgrid = vgrid,
ocn_topo = topo,
project = 'NCGD0011',
override = True,
machine = "derecho",
compset = "CR_JRA_GLOFAS" # If you'd like JRA, use the compset longname!
)
case.configure_forcings(
date_range = ["2000-01-01 00:00:00", "2000-02-01 00:00:00"],
runoff_esmf_mesh_filepath = "<ESMF_MESH_PATH>" # For runoff mapping, the esmf mesh file of the input dataset
)
Note
If you’re working on Derecho or Casper, you can use the following paths:
GLOFAS ESMF Mesh: "/glade/campaign/cesm/cesmdata/cseg/inputdata/ocn/mom/croc/rof/glofas/dis24/GLOFAS_esmf_mesh_v4.nc"
JRA ESMF Mesh: "/glade/campaign/cesm/cesmdata/inputdata/lnd/dlnd7/JRA55/JRA.v1.4.runoff.1958_ESMFmesh_cdf5_20201020.nc"