Python program using xarray for calculating Air stagnation indices over the Euro-Mediterranean region http://steady-ucm.org for details
Using modules http://xarray.pydata.org/en/stable/ https://pandas.pydata.org/ https://dask.org/ With License https://www.gnu.org/licenses/gpl-3.0.html
Welcome to the ASI_Steady wiki!
First you should read about copernicus
https://cds.climate.copernicus.eu/api-how-to
This project is the code from website http://steady-ucm.org
UML
Las tres funciones principales que se usarán en el cálculo de los índices de estancamiento son, conforme a la ilustración 1:
- def module_Wind(self,Wind,ml)
- def module_Precipitation(self)
- def ventilation_reduce_dimension(self)
La lectura de los ficheros netcdf se realiza mediante la función:
- def Read_netcdf(self, update, classic):
Los tres índices se calcularán mediante las funciones:
- def Horton_generation(self, update=False):
- def Wang_generation(self, update=False):
- def Huang_generation(self, update=False):
Funciones necesarias para la escritura de ficheros netcdf:
-
def Add_Description_dataset(self, dataset_stream):
-
def get_timestamp(self):
Una vez ya creados los índices de estancamiento, se pueden leer mediante las siguientes funciones: def refresh_Graphics(self, NETCDF_FILES_FOLDER, start, end, lat_uno, lat_dos, lng_uno, lng_dos):
def refresh_Graphics_CSV(self, NETCDF_FILES_FOLDER, start, end, lat_uno, lat_dos, lng_uno, lng_dos):