NWTlter / NWT_climate_infilling

Code repository for climate infilling project
1 stars 1 forks source link

Write code to dynamically fetch raw Ameriflux data (using 'amerifluxr' R package) #4

Open caitlintwhite opened 1 year ago

caitlintwhite commented 1 year ago

Code as is depends on user manually downloading data and unzipping it to data/raw folder. Whether using manual download method or using amerifluxr package, you must be first registered with Ameriflux as a data user (they like to know how their data is being used + who is using it). Because registration is required either way, I shied away from using amerifluxr initially because of the risk of packages/functions not being maintained long-term or deprecated (i.e., code breaks) and I've also run into function wonkiness with using R packages a user be registered in a third party (e.g., with token authorization). BUT, in hindsight, reading dynamically might make Sarah + helpers lives easier when running this workflow each year.

Data that need to be fetched:

milesalanmoore commented 6 months ago

Working on this now.