Version: dev

GSWP3_Solar_Synthetic

Data-reading test of the CDEPS DATM GSWP3 chain on SYNTHETIC files: the same reader declarations as the GSWP3Files model of cdeps_datm_gswp3_data.esm (here GSWP3FilesSynthetic, reading sources named *_Synthetic, so the two documents' components and sources keep distinct names), the same Streams/Clmncep laws (mounted from ./cdeps_datm_gswp3.esm) and the same reader -> Streams -> Clmncep coupling edges as cdeps_datm_gswp3_data.esm, with the four data sources pointed at small GSWP3-shaped NetCDF files that tools/gen_synthetic_gswp3.py writes on demand into ./synthetic/ (git-ignored; CI generates them before the inline-test sweeps; no real data is downloaded). The record values are closed-form in the record and cell indices, so the expected values of the reader -> Streams -> Clmncep chain are known exactly. Run `python3 tools/gen_synthetic_gswp3.py` first; needs an esm CLI with data-source support (earthsci-ast-cli built with --features esio).

.esm schema
2.0.0
Source
components/data_models/cdeps/cdeps_datm_gswp3_synthetic.esm

Description

Data-reading test of the CDEPS DATM GSWP3 chain on SYNTHETIC files: the same reader declarations as the GSWP3Files model of cdeps_datm_gswp3_data.esm (here GSWP3FilesSynthetic, reading sources named *_Synthetic, so the two documents’ components and sources keep distinct names), the same Streams/Clmncep laws (mounted from ./cdeps_datm_gswp3.esm) and the same reader -> Streams -> Clmncep coupling edges as cdeps_datm_gswp3_data.esm, with the four data sources pointed at small GSWP3-shaped NetCDF files that tools/gen_synthetic_gswp3.py writes on demand into ./synthetic/ (git-ignored; CI generates them before the inline-test sweeps; no real data is downloaded). The record values are closed-form in the record and cell indices, so the expected values of the reader -> Streams -> Clmncep chain are known exactly. Run python3 tools/gen_synthetic_gswp3.py first; needs an esm CLI with data-source support (earthsci-ast-cli built with –features esio).

Reference

  • CESM (Community Earth System Model), ESCOMP/CDEPS: Common Data model EXchange Platform source (cdeps1.0.112) - datm/datm_datamode_clmncep_mod.F90, streams/dshr_strdata_mod.F90, streams/dshr_tinterp_mod.F90, share/shr_precip_mod.F90, share/shr_const_mod.F90 - the reference implementation these components are transcribed from.

Data source

Kindgrid
URL templatesynthetic/clmforc.GSWP3.synthetic.Solr.{date:%Y-%m}.nc
Coverage2000-01-01T00:00:00Z → 2000-01-31T23:59:59Z
File periodP1M
Sample frequencyPT3H
Records per fileauto

Raw .esm

Raw .esm JSON (this component)
{
  "kind": "grid",
  "source": {
    "url_template": "synthetic/clmforc.GSWP3.synthetic.Solr.{date:%Y-%m}.nc"
  },
  "temporal": {
    "start": "2000-01-01T00:00:00Z",
    "end": "2000-01-31T23:59:59Z",
    "file_period": "P1M",
    "frequency": "PT3H",
    "records_per_file": "auto",
    "time_variable": "time"
  },
  "select": {
    "axes": [
      {
        "fixed": 1
      },
      {
        "fixed": 2
      }
    ]
  },
  "metadata": {
    "esio_format": "netcdf",
    "tags": [
      "gswp3",
      "datm",
      "forcing",
      "solar",
      "3-hourly"
    ],
    "description": "Synthetic GSWP3-shaped Solar file written by tools/gen_synthetic_gswp3.py (FSDS = 100 + 2k + 50i + 10j)."
  }
}