AmdarDataRepository#
- class rojak.core.data.AmdarDataRepository(path_to_files: str | list)[source]#
Bases:
ABC
Abstract AMDAR data repository interface.
This class handles the I/O of the data
Methods
__init__
(path_to_files)join_grid_bounds
(dataframe, grid)Combines data with the grid cell by expanding the Polygon's bounds into 4 columns - min_lon, min_lat, max_lon, max_lat.
load
()Method to load data from path 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.