-
Notifications
You must be signed in to change notification settings - Fork 0
2013 07 09 ecoregions scaling
See Ecoregions instructions for background.
ROOT
= Z:/JOHANNA/t5_Vegetation_ecoregions_land_cover/WWF_Calculations
FOLDER
= ROOT/WWF_Global200ecoregions/Input
New tool fcompare.py created. The tool compares 2 folders and tries to find exact or similar matches of the file names taking into account file extensions and particular naming patterns. E.g. when scaling for R15
to R16
file
WWFg200fw_AmazonRiverFloodedForests_r15b.tif
should become
WWFg200fw_AmazonRiverFloodedForests_r16b.tif
this is matched based on the name body (excluding scale pattern rXXb
)
source FOLDER/WWFg200_FreshWater_r15b
target FOLDER/WWFg200_FreshWater_r16b
- Seems to be ready (# of rasters: 53)
- Filenaming typos:
isWFg200fw_*
should beWWFg200fw_*
- Name matching (cutoff=0.8):
- exact: 0
- similar (one match): 51
- similar (multiple matches): 2 (resolved)
- no match: 0
source FOLDER/WWFg200_Terrestrial_r15b
target FOLDER/WWFg200_Terrestrial_r16b
- Seems to be ready (# of rasters: 143)
- Filenaming typos:
isWFg200fw_*
should beWWFg200fw_*
- Name matching (cutoff=0.8):
- exact: 0
- similar (one match): 133
- similar (multiple matches): 9 (resolved)
- no match: 1 (resolved)
source FOLDER/WWFg200_Marine_r15b
target FOLDER/WWFg200_Marine_r16b
- Renamed
FOLDER/WWFg200_Marine_r15b_PROBLEM
>FOLDER/WWFg200_Marine_r15b
- Using tool
Corrected Scale Tool
-
FIXME: What is the correct mask folder? Using
ROOT/CBIG_TOOLS/Masks
- Data seems a little weird, should be binary data (1s), but reports 8 bit continious values. True at least for the first 2 rasters in the folder
- FIXME: not progressing before it's clear what this is (see issue1)
ROOT
= Z:/JOHANNA/t5_Vegetation_ecoregions_land_cover/WWF_Calculations
FOLDER
= ROOT/WWF_TerrestrialEcoregions/Input
source FOLDER/WWF_TerrestrialEcoRegions_r15b
intermediate FOLDER/WWF_TerrestrialEcoRegions_r15b/SCALED/WWF_TerrestrialEcoRegions_r16
target FOLDER/WWF_TerrestrialEcoRegions_r16b
- Created a new temporary folder:
FOLDER/WWF_TerrestrialEcoRegions_r15b/DONE
to hold the rasters that have already been processed. This folder has to be manually updated should the scaling crash again. -
Correct Scale Tool
launched starting from raster:
WWFTerrEcor_CentralAfricanMangroves_r15b.tif
- FIXME Calculation causes error at least with 3 first rasters from 2 onwards. See issue5