Input/Output - References

This module is for getting reference station data from EDF servers. The plan is to eventually migrate to Amazon Web Services.

anemoi.io.references.distances_to_project(lat_project, lon_project, lats, lons)[source]

Method to calculate distances between a project and an array of lats and lons

Parameters:
lat_project: float
Project latitude
lon_project: float
Project longitude
lats: np.array
Latitudes from which to calculate distances
lons: np.array
Longitudes from which to calculate distances
Returns:

out: np.array of distances

anemoi.io.references.get_reference_stations_north_america()[source]

Return list of North American reference stations