Model/finaldata/_decompress_big_files.gmsΒΆ

Decompress big finaldata files with gzip. Use before running model.

Since GitHub has a big-file (100M) and repo-size (+/- 1GB) limit, the largest few files have to be compressed before comitting them. This script uncompresses them without removing the compressed originals. Note that the decompressed versions of these file are ignored for commits via a Model/finaldata/.gitignore file.

NOTE: if decompressed versions already exist, they will NOT be overwritten. This is helpful because the files - data_crops.gdx - data_forest.gmx - data_livenumber.gms can alternatively be obtained from custom pre-compilation using the GLOBIOM_FABLE_Data repository in which case those versions are preferred and should be preserved.