Metadata-Version: 2.1
Name: nc2gj
Version: 0.0.9
Home-page: https://gitlab.mercator-ocean.fr/mirazoki/ecfas_geojason
Author: Maialen Irazoki
Author-email: mirazoki@mercator-ocean.fr
License: BSD Licence
Project-URL: Repository, https://gitlab.mercator-ocean.fr/mirazoki/ecfas_geojason
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENCE

## Introduction
Conversion of the ecfas nc coastal TWL time-series to geojson format, with the addition of the trigger threshold for coastal flood warning. It therefore requires that the ecfas workflow and trigger have been run first such. If this is not the case, a dummy threshold is introduced (-9999).

## Conda dependencies
geopandas==0.10.2

## usage
Specify the following mandatory arguments:
- -o <outputdir>: Output directory where the daily regional netcdf time-series forecasts are saved.

Optional arguments:
- -r <region> : Region, matching the 6 Copernicus Marine Service regional domains. Defaults to all ['NWS','IBI','MED','BAL','BS','ARC']
- -t <%Y%m%d_%H%M%S>: Bulleting date for the forecast data. Default: Forecast update time of execution day

Example usage: `nc2geojson -o <outputdir> [-r <region>] -t [<%Y%m%d_%H%M%S>]`

Output: output written to folder '/geojson/' under the outputdir ('o'). The outputs are geojson files (*.geojson). The name of the file is kept the same as the the original netcdf filenames, just the extension changes.
