weatherbench2.config.Paths

class weatherbench2.config.Paths(forecast, obs, output_dir, output_file_prefix='', climatology=None)

Configuration for input and output paths.

Parameters:
  • forecast (str) –

  • obs (str) –

  • output_dir (str) –

  • output_file_prefix (Optional[str]) –

  • climatology (Optional[str]) –

forecast

Path to forecast file.

Type:

str

obs

Path to ground-truth file.

Type:

str

output_dir

Path to output directory.

Type:

str

output_file_prefix

Prefix for output file name.

Type:

Optional[str]

climatology

Path to optional climatology file.

Type:

Optional[str]

__init__(forecast, obs, output_dir, output_file_prefix='', climatology=None)
Parameters:
  • forecast (str) –

  • obs (str) –

  • output_dir (str) –

  • output_file_prefix (Optional[str]) –

  • climatology (Optional[str]) –

Return type:

None

Methods

__init__(forecast, obs, output_dir[, ...])

Attributes

climatology

output_file_prefix

forecast

obs

output_dir