Skip to content

Updated convert script to get netcdf files from daily (_DD_) Ameriflu…#92

Open
EliasMassoud1 wants to merge 1 commit intorubisco-sfa:masterfrom
EliasMassoud1:master
Open

Updated convert script to get netcdf files from daily (_DD_) Ameriflu…#92
EliasMassoud1 wants to merge 1 commit intorubisco-sfa:masterfrom
EliasMassoud1:master

Conversation

@EliasMassoud1
Copy link
Collaborator

…x csv files

Thank you for contributing to ILAMB-Data. Use this template when submitting a pull request.

🛠 Summary of changes

Include a reference to the issue # in this section
Summarize the changes you are making to the repo. Are you fixing a bug? Adding a dataset? Describe what you did in a few sentences or bullet points:

  • The convert script to get netcdf files from daily Ameriflux csv files was from several years ago. This is an updated version of that.

🧪 NetCDF Validation

Add an x between the brackets to indicate basic testing was completed

  • Created a new working directory (e.g., ILAMB-DATA/GFED5/)
  • [ x] Created a standalone python script that downloads and processes the new dataset (e.g., ILAMB-DATA/GFED5/convert.py)
    • [ x] The python script outputs a netcdf (e.g., ILAMB-DATA/GFED5/burntFractionAll_mon_GFED5_199701-202012.nc)
  • Ran python3 validate_dataset.py ILAMB-DATA/GFED5/burntFractionAll_mon_GFED5_199701-202012.nc in command line and resolved any errors
  • [ x] Visually inspected the outputted netCDF for obvious issues
    • [ x] ncdump -h ILAMB-DATA/GFED5/burntFractionAll_mon_GFED5_199701-202012.nc to visually inspect the netCDF header information
    • ncview ILAMB-DATA/GFED5/burntFractionAll_mon_GFED5_199701-202012.nc to visually inspect the map (where applicable)

🧪 (Optional) Preview

Attach an image of your dataset here

🏎 (Optional) Quality Checklist

Add an x between the brackets to indicate script quality adherence

  • [ x] There are no unused libraries imported into the code
  • [ x] There are no erroneous console logs, debuggers, or leftover testing code
  • There are no hard-coded paths to your local machine in the script
    *There are ways the script reads the file name that are semi-hardcoded (e.g. to get Site information from filename)
  • [ x] Useful headings describe sections of your code
  • [ x] Variable names are generalizable and easy to read

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