:orphan: | ☷ :doc:`return to Workflows <../../../4_workflows/workflows>` | ☷ :doc:`go to Preprocess CWatM inputs [FR] ` Monitoring tools =============================== Model parametrization is usually a tricky part. In order to facilitate the monitoring of CWatM model parametrization, we provide a graphical visualization tool named **plot_timeseries.py**. As this tool is only remotely connected to GEOP4TH, it is not intended to be imported as other modules. Instead, you can find it in the **geop4th/src/misc/cwatm** folder. This tool generates a figure based on parameters passed in an associated *settings.yaml* file (Note: the path to this .yaml file has to be specified in *plot_timeseries.py*). An example of such a *settings.yaml* file is provided in the same folder as *plot_timeseries.py*. .. note:: **Automatic definition of locations** If the parameter ``coords_data: 'auto'`` is specified, it is required to pass a ``gauge_vector`` filepath pointing to a vector file containing all desired gauge points as well as quantity timeseries for each point. For instance, for discharge data in France, such a file can be automatically generated by using the following function in the |IDE|: .. code-block:: python3 import geop4th as geo geo.download_eaufrance( dst_folder = , masks = , filetypes = 'geojson', start_year = <2000>, end_year = <2025> ) ds = geo.standardize_eaufrance( ) geo.export(ds, ) # This resulting file can be used as the ``gauge_vector``. Study Case: Pays Basque ^^^^^^^^^^^^^^^^^^^^^^^^ Discharge gauge stations """""""""""""""""""""""""""""" .. figure:: Gauge_station_locations.png :align: center Locations of gauge stations Data are from HydroPortail (`API Hub'Eau `_). Discharge monitoring """"""""""""""""""""""" .. (comment) .. raw:: html 📊 View the full HTML file .. raw:: html 📊 View the full HTML figure .. |ERA5| raw:: html ERA5 .. |DEM| raw:: html DEM .. |IDE| raw:: html IDE .. # define a hard line break for HTML .. |br| raw:: html
.. |nbsp| unicode:: 0xA0 :trim: