Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken web site time series plots. #249

Merged
merged 10 commits into from
Mar 30, 2024
Merged

Commits on Mar 29, 2024

  1. Change NowcastWorker mock to pytest fixture

    Test suite maintenance.
    
    re: issue #81
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    3c3bd4d View commit details
    Browse the repository at this point in the history
  2. Update make_plots worker main() function docstring

    Removed not informative "Set up and run the worker." line at the beginning.
    
    re: issue #121
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    5f166c8 View commit details
    Browse the repository at this point in the history
  3. Change logging mocks to pytest caplog fixture

    Replace unittest.mock.patch decorator with pytest caplog fixture for tests of
    logging.
    
    Test suite maintenance re: issue #82.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    459d677 View commit details
    Browse the repository at this point in the history
  4. Add unit tests for YAML config file elements

    Add unit tests for production YAML config file elements related to worker;
    re: issue #117.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    c581b7e View commit details
    Browse the repository at this point in the history
  5. Remove unused ferry_data_dir configuration retrieval

    The ferry_data_dir configuration was retrieved but not used in the make_plots.py
    worker script. This change removes the unneeded line to tidy up the code and
    avoid potential confusion in the future.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    40cdf7d View commit details
    Browse the repository at this point in the history
  6. Update to V21-11 dataset URLs in config & tests

    The URLs for '3d tracer fields' and '3d biology fields' have been updated in the
    test_make_plots.py and nowcast.yaml files.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    53d63c3 View commit details
    Browse the repository at this point in the history
  7. Rename physics dataset keys to '3d physics fields'

    This commit changes the '3d tracer fields' key in the nowcast.yaml configuration
    file, the make_plots.py worker and test_make_plots.py tests to
    '3d physics fields'. This change better reflects in the relevant data source
    URLs.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    d7cfd2c View commit details
    Browse the repository at this point in the history
  8. Update zooplankton field var names in make_plots

    Update zooplankton field variable names for the time series plot function in the
    make_plots worker. Specifically, change "mesozooplankton" and "microzooplankton"
    to "z1_zooplankton" and "z2_zooplankton". This update ensures consistency with
    the V21-11 model output variable names.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    15e07d9 View commit details
    Browse the repository at this point in the history
  9. Replace Mesodinium rubrum w/ Diatoms in time series plots

    In the 'make_plots' worker, the field variable 'mesodinium' was changed to
    'diatoms' for the time series plots. The 'diatoms_flagellates_timeseries'
    dictionary key is adjusted accordingly. This is necessary due to the removal of
    the Mesodinium rubrum variable from the V21-11 model calculations and output.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    ee9b6ad View commit details
    Browse the repository at this point in the history
  10. Add z1 & z2 zooplankton to color dict in website_theme

    Two new types of zooplankton, 'z1_zooplankton' and 'z2_zooplankton', have been
    added to the color dictionary of nowcast/figures/website_theme.py file. This
    change would allow the correct color to be displayed for these new types in the
    corresponding plots.
    douglatornell committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    dbdb26b View commit details
    Browse the repository at this point in the history