oceanval.fvcom_preprocess#
- oceanval.fvcom_preprocess(variables=None, paths=None, lon_lim=None, lat_lim=None, res=0.05, out_dir=None, model_res=None, missing=None)#
Preprocess FVCOM data for gridding and regridding.
- Parameters:
variables (list) – List of variable names to process. This must be the names in the netCDF files.
paths (list) – List of file paths to the FVCOM data files.
lon_lim (list) – Minimum and maximum longitudes for regridding.
lat_lim (list) – Minimum and maximum latitudes for regridding.
res (list or float) – Resolution for regridding. This defaults to 0.05 degrees, which should be fine for point matchups.
out_dir (str) – Output directory where processed data will be saved. If None, an error is raised.