Skip to content

Verification files

Thomas Nipen edited this page Jan 23, 2025 · 17 revisions

Bris-inference can generate files suitable for verification. In particular, this output generates files with forecasts and observations in Verif format (https://github.com/WFRT/verif).

This can be configured by adding a Verif output in the config file:

outputs:
  - verif:
      filename: output_filename.nc
      variable: 2t
      obs_sources:
        - verif:
            filename: observation_file.nc

Observations

Observations can be provided in a number of ways.

From existing Verif files

Observations can be read from existing Verif NetCDF file. This file contains observations for a set of locations for a range of times. You can generate these files on your own, the standard is described here:

https://github.com/WFRT/verif/wiki/Arranging-my-own-data

It also reads a simplified version of these files that do not contain the leadtime dimension. Here is a minimum required file structure:

   netcdf format {
   dimensions:
      time = UNLIMITED;
      location = 10;
   variables:
      int time(time);               // Valid time of forecast initialization in
                                    // number of seconds since 1970-01-01 00:00:00 +00:00
      int location(location);       // Id for each station location
      float lat(location);          // Decimal degrees latitude
      float lon(location);          // Decimal degrees longitude
      float altitude(location);     // Altitude in meters
      float obs(time, location);    // Observations
      }
Clone this wiki locally