Skip to content

refactor: reorganization following #131 - #132

Merged
tsutterley merged 6 commits into
mainfrom
dev
Dec 16, 2022
Merged

tsutterley merged 6 commits into
mainfrom
dev

Conversation

@tsutterley

Copy link
Copy Markdown
Member

docs: update documentation for new structure

@tsutterley

Copy link
Copy Markdown
Member Author

@mrsiegfried I'm thinking about making some structural changes to how things are organized.
Basically now say for CATS2008 instead of
pyTMD.read_tide_model.extract_tide_constants it is pyTMD.io.OTIS.extract_constants
This structure is repeated so it will be similar for ATLAS (pyTMD.io.ATLAS.extract_constants), FES (pyTMD.io.FES.extract_constants), and GOT (pyTMD.io.GOT.extract_constants).
I've added deprecation warnings on the old structure so that no one's code should break. Just pinging you to get your thoughts.

@codecov

codecov Bot commented Dec 13, 2022 •

Copy link
Copy Markdown

Codecov Report

Base: 64.80% // Head: 63.37% // Decreases project coverage by -1.42% ⚠️

Coverage data is based on head (47bb8dc) compared to base (501d1ab).
Patch coverage: 54.09% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
- Coverage   64.80%   63.37%   -1.43%     
==========================================
  Files          44       51       +7     
  Lines        6316     6586     +270     
  Branches      638      646       +8     
==========================================
+ Hits         4093     4174      +81     
- Misses       1998     2189     +191     
+ Partials      225      223       -2     
Flag Coverage Δ
unittests 63.36% <54.09%> (-1.45%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/test_time.py 100.00% <ø> (ø)
pyTMD/read_tide_model.py 26.43% <1.85%> (-11.67%) ⬇️
pyTMD/read_netcdf_model.py 27.90% <4.76%> (-26.02%) ⬇️
pyTMD/read_GOT_model.py 33.33% <6.66%> (-57.04%) ⬇️
pyTMD/read_FES_model.py 30.00% <10.00%> (-16.31%) ⬇️
pyTMD/calc_delta_time.py 57.14% <25.00%> (-42.86%) ⬇️
pyTMD/iers_mean_pole.py 43.75% <25.00%> (-37.39%) ⬇️
pyTMD/infer_minor_corrections.py 33.33% <25.00%> (-63.70%) ⬇️
pyTMD/io/OTIS.py 34.16% <34.16%> (ø)
pyTMD/output_otis_tides.py 40.00% <35.71%> (+31.66%) ⬆️
... and 33 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant