Add a script to download and process AmeriFlux data. - #65
Draft
jitendra-kumar wants to merge 3 commits into
Draft
jitendra-kumar wants to merge 3 commits into
jitendra-kumar wants to merge 3 commits into
Conversation
…ication to override ssl.verify when reading obs4MIP jsons which leads to errors on some systems. Also suggested minor edits to README.md.
jitendra-kumar
marked this pull request as draft
February 25, 2026 05:53
Author
|
Changing the status to draft for this PR. I am adding ability to create monthly, daily and half hourly data files to the script and will request the review once they are complete. |
…lf hourly (30min) frequency. Currently there are errors creating 30 min data that needs updates to several other ilamb3-data routines, but works well for daily and monthly. This commit also adds flags to create download, extract and process stages so we can avoid having to run all steps every time.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
data/AmeriFlux-FLUXNET/convert.py: Add a script to download and process AmeriFlux data.The script uses
activity_id=ILAMB-Datainstead of defaultobs4MIPSets
tracking_idto empty as obs4MIPtracking_idis not necessarily needed or appropriate.ilamb3_data/__init__.py: Adds minor modification to override ssl.verify when reading obs4MIP jsons which leads to errors on some systems.README.md: Suggested minor edits toREADME.md.Netcdf files generated by the script pass checks using
scripts/validate_dataset.pyI have netcdf files with 298 sites ready to be tested and uploaded to the server (if all looks good).