Newer
Older
import param
import prepro_private
import param_private
##############################################
# VARIABLES OF PARAMETERS USED BY THIS SCRIPT
##############################################
# * initial time
# * final time
# * nc_data_dir
# # lon_min, lon_max, lat_min, lat_max
##############################################
##############################################
# VARIABLES OF LOCAL_PARAM USED BY THIS SCRIPT
##############################################
# * forcing_names
##############################################
p = param.parameters()
path_output = p.nc_data_dir[:-1] if p.nc_data_dir[-1] == "/" else p.nc_data_dir
prepro_private.fetch_forcings(
p.lon_min,
p.lon_max,
p.lat_min,
p.lat_max,
p.initial_time,
p.final_time,
path_output,
forcings=p.forcing_names,
on_geo_server=True,
)