Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It will be used in the pilot project in order to retrieve and access data semantically instead the traditional (grib) file based approach, employed still in many operational environments of NMHS.

FDB is implements a field database optimized for HPC data centers with a (lustre) distributed file system and adds a Python frontend to facilitie the data access of meteorological fields in Python. 

The following shows an example of how to retrieve a full hypercube of ensemble data for two fields (height and DBZ) from COSMO data: 

Code Block
languagepy
request = mars.Request(
        ("HHL", "DBZ"),
        date=ref_time.strftime("%Y%m%d"),
        time=ref_time.strftime("%H00"),
        expver="0001",
        levelist=tuple(range(1, 82)),
        number=tuple(range(11)),
        step=lead_time,
        levtype=mars.LevType.MODEL_LEVEL,
        model=mars.Model.COSMO_1E,
        stream=mars.Stream.ENS_FORECAST,
        type=mars.Type.ENS_MEMBER,
    )
    ds = model_data.get(request, ref_param_for_grid="HHL")





Jupyter Viewer
notebookUrlhttps://github.com/MeteoSwiss-APN/fdb-tools/blob/benchmarking/FDB/benchmarking/fdb-bench-results.ipynb