UkmoAmdarRepository#

class rojak.datalib.ukmo.amdar.UkmoAmdarRepository(path)[source]#

Loads UK Met Office AMDAR turbulence observations from CSV files

The UK Met Office data is stored as CSV files with fixed column positions, identified by TURBULENCE_COL_INDICES/MIN_COL_INDICES and named by COLUMN_NAMES/MIN_COL_NAMES; which set is used depends on whether the repository was constructed to load the minimal set of turbulence variables (see AmdarDataRepository).

Parameters:

path (str | list)

__init__(path)[source]#
Parameters:

path (str | list) – Path(s) to the CSV file(s) to load

Return type:

None

Methods

__init__(path)

load([target_columns, column_names])

Load the CSV file(s) into a dask DataFrame

to_amdar_turbulence_data(target_region, ...)

Public method which coordinates the loading of data from disk and processing it such that it has been spatially bucket in the horizontal domain and has the closest pressure level (vertical domain) stored.

Attributes

COLUMN_NAMES

MIN_COL_INDICES

MIN_COL_NAMES

TIME_COLUMNS

TURBULENCE_COL_INDICES