-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
73 lines (66 loc) · 2.37 KB
/
Copy path__init__.py
File metadata and controls
73 lines (66 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
"""
fvcom_stuff
===========
Módulos de descarga y preprocesamiento para el ciclo de forecast de FVCOM.
Descarga de forzamientos
------------------------
- `download_hycom` : HYCOM (forecast ESPC-D-V02 o histórico GLBy0.08)
- `download_gfs` : GFS 0.25° (forecast NCEP/NOMADS)
- `download_era5` : ERA5 horario u10/v10 (CDS, histórico)
Preprocesamiento FVCOM
----------------------
- `modify_restart` : modifica un restart con datos HYCOM/Mercator
- `create_initial_conditions` : construye IC de T/S a partir del forzamiento
- `create_tsobc` : crea el TSOBC de la frontera abierta
- `create_wind_uv` : crea el forzamiento de viento (ERA5 o GFS)
- `tpxo_elevtide` : crea el forzamiento de marea (TPXO9)
Cada módulo expone funciones de alto nivel que pueden importarse, y también
puede ejecutarse desde la línea de comandos (`python -m fvcom_stuff.X`).
"""
from .download_hycom import download_hycom, latest_forecast_window
from .download_gfs import download_gfs_forecast, find_available_cycle
from .download_era5 import download_era5_winds
from .modify_restart import modify_restart_from_forcing
from .modify_restart_copernicus import (
modify_restart_from_copernicus,
seawater_density,
)
from .create_initial_conditions import build_initial_conditions, write_ic_to_restart
from .create_tsobc import create_tsobc_from_forcing, create_tsobc_from_restart
from .create_wind_uv import (
create_wind_forcing,
create_wind_forcing_from_era5,
create_wind_forcing_from_gfs,
)
from .tpxo_elevtide import create_elevtide_from_tpxo
from .visualize import (
plot_hycom_surface,
plot_hycom_section,
plot_wind,
plot_wind_timeseries,
)
__all__ = [
# download
'download_hycom',
'latest_forecast_window',
'download_gfs_forecast',
'find_available_cycle',
'download_era5_winds',
# preprocesamiento
'modify_restart_from_forcing',
'modify_restart_from_copernicus',
'seawater_density',
'build_initial_conditions',
'write_ic_to_restart',
'create_tsobc_from_forcing',
'create_tsobc_from_restart',
'create_wind_forcing',
'create_wind_forcing_from_era5',
'create_wind_forcing_from_gfs',
'create_elevtide_from_tpxo',
# visualización
'plot_hycom_surface',
'plot_hycom_section',
'plot_wind',
'plot_wind_timeseries',
]