Skip to content

Annual tree cover loss update 2001-2020

Compare
Choose a tag to compare
@dagibbs22 dagibbs22 released this 31 Mar 14:54
· 115 commits to master since this release
7e87b0d

This version is updated to run through 2020 (2001-2020). Updates involved in this are: new tree cover loss (TCL) data from the GLAD Lab at the University of Maryland (2001-2020), an updated drivers of tree cover loss model (same methods as Curtis et al. 2018 Science, but with TCL through 2020), and updated burned area data from MODIS collection 6. Beyond these updated inputs, the model is almost identical (one small correction was made to some emissions calculations).

A few other improvements that do not affect the model methods or results are included in this release:

  1. Users can disable uploads of model logs and output rasters to AWS s3 using a new command line argument (--no-upload or -nu flag) in individual model stages or in run_full_model.py. This can expedite testing of the model because users don't have to wait for tiles to upload after each step of the model runs. It also makes it easier for people to run the model without access to s3 because they can easily make the model not upload outputs to s3. (It will still try to download from s3, though, and users would need to manually change that.)
  2. Users can disable the deletion of intermediate outputs during the later stages of run_full_model.py with a new command line argument (--save-intermediates or -si flag).
  3. The command line arguments in run_full_model.py to include stages for creating US and mangrove removal factors are now flags rather than requiring true or false arguments after them.
  4. The model log isn't uploaded to s3 as frequently now. Originally, it was uploaded anytime any text was added to the console. Assuming the --no-upload flag isn't turned on, now the log is only uploaded when it is created, when an exception is thrown, at the end of a function, after all tiles in a set are uploaded, and at the end of run_full_model.py.
  5. The constants and input raster names for all the main emissions C++ scripts are centralized in a new file called constants.h. This makes it easier to change the names of input files for the standard and sensitivity analysis C++ scripts because they only need to be changed in constants.h, rather than in each version of the emissions script. Note that flu_val.cpp and equations.cpp don't refer to constants.h and therefore need to be separately updated from constants.h.

NOTE: The main model and everything involved in the 2020 updated work but the pre-processing scripts and sensitivity analysis functions haven't been retested and may not all work in this release.