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

Add historical data to l3 #252

Merged
merged 38 commits into from
Jun 26, 2024
Merged

Conversation

BaptisteVandecrux
Copy link
Member

This PR builds on top of #251. It:

  • reads merged (raw+tx for v2+v3 stations) aws-l2 data
  • runs toL3 on that L2 file
  • loads and postprocesses the historical GC-Net data
  • appends the historical GC-Net data before the freshly generated L3 data
  • makes hourly, daily, monthly resampling and fills metdata

BaptisteVandecrux added a commit that referenced this pull request Jun 16, 2024
@ladsmund ladsmund changed the base branch from main to 250-make-a-fast-track-l2-product-before-any-derived-variables-are-being-calculated June 17, 2024 10:46
@PennyHow

This comment was marked as resolved.

Copy link
Contributor

@ladsmund ladsmund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at join_3 yet.

src/pypromice/process/write.py Show resolved Hide resolved
src/pypromice/process/write.py Show resolved Hide resolved
src/pypromice/process/get_l2tol3.py Outdated Show resolved Hide resolved
src/pypromice/process/get_l2.py Outdated Show resolved Hide resolved
src/pypromice/process/resample.py Show resolved Hide resolved
src/pypromice/process/resample.py Outdated Show resolved Hide resolved
src/pypromice/process/resample.py Show resolved Hide resolved
src/pypromice/process/utilities.py Outdated Show resolved Hide resolved
src/pypromice/process/utilities.py Show resolved Hide resolved
src/pypromice/ressources/variables.csv Outdated Show resolved Hide resolved
src/pypromice/process/L1toL2.py Show resolved Hide resolved
src/pypromice/process/utilities.py Outdated Show resolved Hide resolved
src/pypromice/process/utilities.py Outdated Show resolved Hide resolved
src/pypromice/process/get_l2tol3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
BaptisteVandecrux and others added 3 commits June 18, 2024 14:25
…258)

* numpy dependency <2.0

* resample rules updated (deprecation warning)

* fillna replaced with ffill (deprecation warning)

* get_l3 called directly rather than from file

* process action restructured
renamed new variable.csv

moved old variable.csv

renamed new variables.csv

recreate variables.csv
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/process/join_l3.py Outdated Show resolved Hide resolved
src/pypromice/ressources/variable_aliases_GC-Net.csv Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
Copy link
Member

@PennyHow PennyHow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked through it and generally I think it looks fine - there will be edits we need to make after all of these changes, but they can wait. @ladsmund has done a very thorough job reviewing this, and I just want to keep this moving forward. I just had one thing about the "ressources" module, which I opened in a PR to this branch #261.

src/pypromice/ressources/__init__.py Outdated Show resolved Hide resolved
src/pypromice/process/get_l2.py Show resolved Hide resolved
BaptisteVandecrux added a commit that referenced this pull request Jun 24, 2024
@BaptisteVandecrux BaptisteVandecrux changed the base branch from 250-make-a-fast-track-l2-product-before-any-derived-variables-are-being-calculated to develop June 26, 2024 19:17
@BaptisteVandecrux BaptisteVandecrux merged commit b82b586 into develop Jun 26, 2024
8 checks passed
@BaptisteVandecrux BaptisteVandecrux deleted the add-historical-data-to-l3 branch June 26, 2024 19:47
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.

Merging of the station records at each site including historical stations
3 participants