Skip to content
Snippets Groups Projects
Commit ef80f0a8 authored by Neha Hunka's avatar Neha Hunka
Browse files

Classifying the world into IPCC Table 4.7

parent b2044ec2
No related branches found
No related tags found
No related merge requests found
......@@ -26,25 +26,24 @@ import argparse
# python /projects/biomass_harmonization/country_summaries/IPCC_classes_DPS/IPCC_GEDI_Table4.7.py --FOREST_HEIGHT_2000 /projects/my-private-bucket/Data/IPCC_layers_test/2000_00N_130E.tif --FOREST_HEIGHT_2020 /projects/my-private-bucket/Data/IPCC_layers_test/2020_00N_130E.tif --FOREST_GAIN /projects/my-private-bucket/Data/IPCC_layers_test/netgain_00N_130E.tif --FOREST_LOSS /projects/my-private-bucket/Data/IPCC_layers_test/netloss_00N_130E.tif --FOREST_COVER_2000 /projects/my-private-bucket/Data/IPCC_layers_test/Hansen_GFC-2022-v1.10_treecover2000_00N_130E.tif --FOREST_COVER_LOSSYEAR /projects/my-private-bucket/Data/IPCC_layers_test/Hansen_GFC-2022-v1.10_lossyear_00N_130E.tif --PLANTATIONS /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_plantation_type_oilpalm_woodfiber_other_unmasked.tif --IFL_rasters /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_IFL_2000.tif --primary_forest_asia /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_Asia.tif --primary_forest_sa /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_SouthAmerica.tif --primary_forest_africa /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_Africa.tif --EcoCont /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_EcoCont.tif --tile 00N_130E --output_file /projects/my-private-bucket/Data/IPCC_layers_test/IPCC_Class_TEST_UINT16_again.tif
######################################################################################
if __name__ == "__main__":
parse = argparse.ArgumentParser(description="Classifies world into GEZ, Continent and Forest Age classes")
parse.add_argument("--FOREST_HEIGHT_2000", help="FOREST_HEIGHT_2000")
parse.add_argument("--FOREST_HEIGHT_2020", help="FOREST_HEIGHT_2020")
parse.add_argument("--FOREST_GAIN", help="FOREST_GAIN")
parse.add_argument("--FOREST_LOSS", help="FOREST_LOSS")
parse = argparse.ArgumentParser(description="Classifies world into GEZ, Continent and Forest Age classes")
parse.add_argument("--FOREST_HEIGHT_2000", help="FOREST_HEIGHT_2000")
parse.add_argument("--FOREST_HEIGHT_2020", help="FOREST_HEIGHT_2020")
parse.add_argument("--FOREST_GAIN", help="FOREST_GAIN")
parse.add_argument("--FOREST_LOSS", help="FOREST_LOSS")
# parse.add_argument("--FOREST_EXTENT_2000", help="FOREST_EXTENT_2000")
# parse.add_argument("--FOREST_EXTENT_2020", help="FOREST_EXTENT_2020")
parse.add_argument("--FOREST_COVER_2000", help="FOREST_COVER_2000")
parse.add_argument("--FOREST_COVER_LOSSYEAR", help="FOREST_COVER_LOSSYEAR")
parse.add_argument("--PLANTATIONS", help="PLANTATIONS")
parse.add_argument("--IFL_rasters", help="IFL_rasters")
parse.add_argument("--primary_forest_asia", help="primary_forest_asia")
parse.add_argument("--primary_forest_sa", help="primary_forest_sa")
parse.add_argument("--primary_forest_africa", help="primary_forest_Africa")
parse.add_argument("--EcoCont", help="EcoCont")
parse.add_argument("--tile", help="Tile")
parse.add_argument("--output_file", help="Output")
args = parse.parse_args()
parse.add_argument("--FOREST_COVER_2000", help="FOREST_COVER_2000")
parse.add_argument("--FOREST_COVER_LOSSYEAR", help="FOREST_COVER_LOSSYEAR")
parse.add_argument("--PLANTATIONS", help="PLANTATIONS")
parse.add_argument("--IFL_rasters", help="IFL_rasters")
parse.add_argument("--primary_forest_asia", help="primary_forest_asia")
parse.add_argument("--primary_forest_sa", help="primary_forest_sa")
parse.add_argument("--primary_forest_africa", help="primary_forest_Africa")
parse.add_argument("--EcoCont", help="EcoCont")
parse.add_argument("--tile", help="Tile")
parse.add_argument("--output_file", help="Output")
args = parse.parse_args()
TILE = args.tile
......
This diff is collapsed.
......@@ -26,25 +26,24 @@ import argparse
# python /projects/biomass_harmonization/country_summaries/IPCC_classes_DPS/IPCC_GEDI_Table4.7.py --FOREST_HEIGHT_2000 /projects/my-private-bucket/Data/IPCC_layers_test/2000_00N_130E.tif --FOREST_HEIGHT_2020 /projects/my-private-bucket/Data/IPCC_layers_test/2020_00N_130E.tif --FOREST_GAIN /projects/my-private-bucket/Data/IPCC_layers_test/netgain_00N_130E.tif --FOREST_LOSS /projects/my-private-bucket/Data/IPCC_layers_test/netloss_00N_130E.tif --FOREST_COVER_2000 /projects/my-private-bucket/Data/IPCC_layers_test/Hansen_GFC-2022-v1.10_treecover2000_00N_130E.tif --FOREST_COVER_LOSSYEAR /projects/my-private-bucket/Data/IPCC_layers_test/Hansen_GFC-2022-v1.10_lossyear_00N_130E.tif --PLANTATIONS /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_plantation_type_oilpalm_woodfiber_other_unmasked.tif --IFL_rasters /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_IFL_2000.tif --primary_forest_asia /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_Asia.tif --primary_forest_sa /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_SouthAmerica.tif --primary_forest_africa /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_Africa.tif --EcoCont /projects/my-private-bucket/Data/IPCC_layers_test/00N_130E_EcoCont.tif --tile 00N_130E --output_file /projects/my-private-bucket/Data/IPCC_layers_test/IPCC_Class_TEST_UINT16_again.tif
######################################################################################
if __name__ == "__main__":
parse = argparse.ArgumentParser(description="Classifies world into GEZ, Continent and Forest Age classes")
parse.add_argument("--FOREST_HEIGHT_2000", help="FOREST_HEIGHT_2000")
parse.add_argument("--FOREST_HEIGHT_2020", help="FOREST_HEIGHT_2020")
parse.add_argument("--FOREST_GAIN", help="FOREST_GAIN")
parse.add_argument("--FOREST_LOSS", help="FOREST_LOSS")
parse = argparse.ArgumentParser(description="Classifies world into GEZ, Continent and Forest Age classes")
parse.add_argument("--FOREST_HEIGHT_2000", help="FOREST_HEIGHT_2000")
parse.add_argument("--FOREST_HEIGHT_2020", help="FOREST_HEIGHT_2020")
parse.add_argument("--FOREST_GAIN", help="FOREST_GAIN")
parse.add_argument("--FOREST_LOSS", help="FOREST_LOSS")
# parse.add_argument("--FOREST_EXTENT_2000", help="FOREST_EXTENT_2000")
# parse.add_argument("--FOREST_EXTENT_2020", help="FOREST_EXTENT_2020")
parse.add_argument("--FOREST_COVER_2000", help="FOREST_COVER_2000")
parse.add_argument("--FOREST_COVER_LOSSYEAR", help="FOREST_COVER_LOSSYEAR")
parse.add_argument("--PLANTATIONS", help="PLANTATIONS")
parse.add_argument("--IFL_rasters", help="IFL_rasters")
parse.add_argument("--primary_forest_asia", help="primary_forest_asia")
parse.add_argument("--primary_forest_sa", help="primary_forest_sa")
parse.add_argument("--primary_forest_africa", help="primary_forest_Africa")
parse.add_argument("--EcoCont", help="EcoCont")
parse.add_argument("--tile", help="Tile")
parse.add_argument("--output_file", help="Output")
args = parse.parse_args()
parse.add_argument("--FOREST_COVER_2000", help="FOREST_COVER_2000")
parse.add_argument("--FOREST_COVER_LOSSYEAR", help="FOREST_COVER_LOSSYEAR")
parse.add_argument("--PLANTATIONS", help="PLANTATIONS")
parse.add_argument("--IFL_rasters", help="IFL_rasters")
parse.add_argument("--primary_forest_asia", help="primary_forest_asia")
parse.add_argument("--primary_forest_sa", help="primary_forest_sa")
parse.add_argument("--primary_forest_africa", help="primary_forest_Africa")
parse.add_argument("--EcoCont", help="EcoCont")
parse.add_argument("--tile", help="Tile")
parse.add_argument("--output_file", help="Output")
args = parse.parse_args()
TILE = args.tile
......
......@@ -14,4 +14,4 @@ pushd ${HOME}
pip install git+https://github.com/MAAP-Project/maap-py.git#egg=maappy
source activate base
# pip3 install pyOpenSSL --upgrade
\ No newline at end of file
pip3 install pyOpenSSL --upgrade
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment