Skip to content

Commit

Permalink
Merge pull request #19 from axiom-data-science/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
kthyng authored Feb 21, 2024
2 parents 9414427 + 494ee81 commit 3ae1faf
Show file tree
Hide file tree
Showing 15 changed files with 730 additions and 420 deletions.
1 change: 1 addition & 0 deletions ci/environment-py3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- python=3.10
############## These will have to be adjusted to your specific project
# - adios_db
- appdirs
- aiohttp
- numpy
# opendrift reqs
Expand Down
1 change: 1 addition & 0 deletions ci/environment-py3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- python=3.11
############## These will have to be adjusted to your specific project
# - adios_db
- appdirs
- aiohttp
- numpy
# opendrift reqs
Expand Down
1 change: 1 addition & 0 deletions ci/environment-py3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- python=3.9
############## These will have to be adjusted to your specific project
# - adios_db
- appdirs
- aiohttp
- numpy
# opendrift reqs
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ API
:recursive:

the_manager
models.opendrift.model_opendrift
models.opendrift.opendrift
10 changes: 10 additions & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# What's New

## v0.7.0 (February 21, 2024)

* Now initialize all class attributes with None and removed usage of `hasattr` which simplifies and clarifies some code.
* Improved handling of `start_time`, `end_time`, `duration`, and `steps` in `manager.py` which fixed a bug in which users couldn't input `start_time` and have the simulation run successfully.
* simplified handling of `horizontal_diffusivity` in `opendrift` model.
* user can change `end_time`, `duration`, and `steps` and have the others update accordingly. Tests added to check this.
* changed known model "CIOFS_now" to "CIOFSOP" to avoid upper/lower issues and include "OP" for "operational".
* many more tests and improved behavior for attribute checks and updates


## v0.6.0 (February 15, 2024)

* is set up to tell `opendrift` ROMS reader to save the interpolator to a cache that is set up the first time it is run. This only works with the newest dev version of `opendrift` at the moment, and the files saved are hundreds of MB, but it speeds up the simulations pretty well (12 to 30 seconds).
Expand Down
2 changes: 1 addition & 1 deletion particle_tracking_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Particle Tracking Manager."""

from .models.opendrift.model_opendrift import OpenDriftModel
from .models.opendrift.opendrift import OpenDriftModel
from .the_manager import ParticleTrackingManager

Large diffs are not rendered by default.

Loading

0 comments on commit 3ae1faf

Please sign in to comment.