Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test all figures in preparation for updating production env to Python…
… 3.13 (#327) * Add missing SPDX short-form license identifiers Ensures compliance with licensing practices by adding SPDX license identifiers to `make_plots.py` and `tracer_thalweg_and_surface_hourly.py`. This improves clarity and streamlines license management across the codebase. * Update tracer_thalweg_and_surface_hourly fig test notebook Update test notebook for `tracer_thalweg_and_surface_hourly` figure module and confirm that the module works in a production environment based on Python 3.13. * Correct bathymetry file name in fig test notebook Updated bathymetry file name in test notebook for `tracer_thalweg_and_surface_hourly` figure module to `bathymetry_202108.nc`. * Update velocity_section_and_surface fig test notebook Update test notebook for `velocity_section_and_surface` figure module and confirm that the module works in a production environment based on Python 3.13. * Update README for research figures notebooks Modernized `make_readme.py` script. * Update broken links to CONTRIBUTORS in docs Replaced outdated "master" branch links with "main" branch links in `README.rst` and `docs/license_description.txt`. Ensures references to CONTRIBUTORS file are accurate and functional. * Add TestPlotVelNEGridded figure test notebook Introduced a new notebook to test the `research_VENUS.plot_vel_NE_gridded()` function. It replicates production settings for validation and highlights the need for a refactor into a proper figure module. Updated README.md with the new notebook entry and corrected a link typo. * Update time_series_plots fig test notebook Update test notebook for `time_series_plots` figure module and confirm that the module works in a production environment based on Python 3.13. * Update README for comparison figures notebooks Modernized `make_readme.py` script. * Update sandheads_winds fig test notebook Update test notebook for `sandheads_winds` figure module and confirm that the module works in a production environment based on Python 3.13. * Update compare_venus_ctd fig test notebook Update test notebook for `compare_venus_ctd` figure module and confirm that the module works in a production environment based on Python 3.13. * Change 'np.NaN' to 'np.nan' re: Numpy 2.0 'numpy.nan' is the correct spelling in Numpy 2.0. All others are deprecated. Missed in PR #272. * Update storm_surge_alerts_thumbnail fig test notebook Update test notebook for `storm_surge_alerts_thumbnail` figure module and confirm that the module works in a production environment based on Python 3.13. * Update storm_surge_alerts fig test notebook Update test notebook for `storm_surge_alerts` figure module and confirm that the module works in a production environment based on Python 3.13. * Update pt_atkinson_tide fig test notebook Update test notebook for `pt_atkinson_tide` figure module and confirm that the module works in a production environment based on Python 3.13. * Adjust 10-min averaging to correctly offset timestamps Removed the deprecated `loffset` parameter and manually adjusted the timestamps with a calculated offset. Ensures proper alignment of resampled data timestamps for accurate comparison. * Re-run notebooks with Bitstream Vera fonts installed This gets rid of the huge number of `findfont: Font family 'Bitstream Vera Sans' not found` messages. * Update compare_tide_prediction_max_ssh fig test notebook Update test notebook for `compare_tide_prediction_max_ssh` figure module and confirm that the module works in a production environment based on Python 3.13. Halfmoon Bay dn Squamish figures commented out due to disappearance of obs from CHS server. * Update README for publish figures notebooks Modernized `make_readme.py` script. * Remove unnecessary column renaming in tide predictions The column renaming for "pred_noshallow" in the ttide dataset is no longer required thanks to SalishSeaCast/tools#132 and has been removed. This improves code clarity and eliminates an unneeded operation. * Update dict key for tidal prediction difference Delete extra spaces in the "pred_noshallow" key that were eliminated at source in SalishSeaCast/tools#132. * Re-run notebooks after stormtools date parsing fix This gets rid of a large number of FutureWarning messages. * Update surface_current_tiles fig test notebook Update test notebook for `surface_current_tiles` figure module and confirm that the module works in a production environment based on Python 3.13. * Update wave_height_period fig test notebook Update test notebook for `wave_height_period` figure module and confirm that the module works in a production environment based on Python 3.13. * Update README for wwatch3 figures notebooks Modernized `make_readme.py` script.
- Loading branch information