Skip to content

Add a script to download and process AmeriFlux data. - #65

Draft
jitendra-kumar wants to merge 3 commits into
rubisco-sfa:mainfrom
jitendra-kumar:ameriflux
Draft

jitendra-kumar wants to merge 3 commits into
rubisco-sfa:mainfrom
jitendra-kumar:ameriflux

Conversation

@jitendra-kumar

Copy link
Copy Markdown

data/AmeriFlux-FLUXNET/convert.py: Add a script to download and process AmeriFlux data.
The script uses activity_id = ILAMB-Data instead of default obs4MIP
Sets tracking_id to empty as obs4MIP tracking_id is 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 to README.md.

Netcdf files generated by the script pass checks using scripts/validate_dataset.py

I have netcdf files with 298 sites ready to be tested and uploaded to the server (if all looks good).

…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
jitendra-kumar marked this pull request as draft February 25, 2026 05:53
@jitendra-kumar

Copy link
Copy Markdown
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.
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