-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX for autocorrelation function (#140)
* track.ncReadTrackData returns true datetime objects - track.ncReadTrackData previously returned cftime.DatetimeGregorian objects, which caused newer versions of matplotlib.dates.num2date to fail. This is because we write the tracks with units of 'hours since 1900-01-01 00:00', but matplotlib.dates uses 1970-01-01 as the epoch, and works in units of days (with no way to specify units in the num2date function). * Read netcdf-format track file from GA SST - GA's Scenario selection tool allows users to download a selected track file, but due to technical constraints this is in a different format. This change allows TCRM to read the modified format. * Move definition statements to separate file * Move queries to separate file * Add script to run through all permutations of wind parameters * NHIRS 148 fix thread (#119) * assertDictEqual doesn't like complex values (like arrays) * NHIRS-148: Fixed issue with FlushCache failing. (#121) * update wind field model to get direction correct, and update documentation * Enhancement/linear rmax (#125) * fix double calculation of t3 - it was previously L3 / (L2 * L2) instead of L3 / L2 * only call Kepert wind field fortran code when a Holland pressure profile is used * Working version of cartopy-based scalebar * Pycxml compatability (#133) * gdal multi-threading for reprojection * Use expected DataProcess-InputFile * Create daily LTM MSLP file from ERA5 * Low resolution wind multipliers (#136) - Adds in a script to quickly downscale the wind multipliers and apply them to many wind fields quickly. If the wind multipliers have already been extracted this process takes minutes instead of weeks. * Bugfix for ACF function (#139) --------- Co-authored-by: mahmudulhasanGA <[email protected]> Co-authored-by: Kieran Ricardo <[email protected]>
- Loading branch information
1 parent
a9be18f
commit a05f812
Showing
73 changed files
with
1,272 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,17 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python env | ||
- name: Set up environment | ||
uses: conda-incubator/[email protected] | ||
with: | ||
python-version: 3.7 | ||
mamba-version: "*" | ||
channels: conda-forge,defaults | ||
channel-priority: true | ||
activate-environment: tcrm | ||
environment-file: tcrmenv.yml | ||
python-version: 3.7 | ||
auto-activate-base: false | ||
use-only-tar-bz2: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,26 @@ jobs: | |
TCRM: | ||
name: Test TCRM | ||
runs-on: ubuntu-latest | ||
strategy: | ||
strategy: | ||
matrix: | ||
python-version: [3.7, 3.8, 3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up environment | ||
uses: conda-incubator/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
mamba-version: "*" | ||
channels: conda-forge,defaults | ||
channel-priority: true | ||
activate-environment: tcrm | ||
environment-file: tcrmenv.yml | ||
python-version: ${{ matrix.python-version }} | ||
auto-activate-base: false | ||
use-only-tar-bz2: true | ||
|
||
- name: Test with nose | ||
- name: Test with pytest | ||
env: | ||
PYTHONPATH: ~/tcrm;~/tcrm/Utilities | ||
shell: bash -l {0} | ||
run: | | ||
python tests/run.py | ||
pytest -x --cov=. --cov-report xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.