Skip to content

2013 07 09 ecoregions scaling

Anonymous edited this page Jul 10, 2013 · 7 revisions

See Ecoregions instructions for background.

WWF G200

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)

Freshwater

source FOLDER/WWFg200_FreshWater_r15b
target FOLDER/WWFg200_FreshWater_r16b

  • Seems to be ready (# of rasters: 53)
  • Filenaming typos:
    is WFg200fw_* should be WWFg200fw_*
  • Name matching (cutoff=0.8):
    • exact: 0
    • similar (one match): 51
    • similar (multiple matches): 2 (resolved)
    • no match: 0

Terrestrial

source FOLDER/WWFg200_Terrestrial_r15b
target FOLDER/WWFg200_Terrestrial_r16b

  • Seems to be ready (# of rasters: 143)
  • Filenaming typos:
    is WFg200fw_* should be WWFg200fw_*
  • Name matching (cutoff=0.8):
    • exact: 0
    • similar (one match): 133
    • similar (multiple matches): 9 (resolved)
    • no match: 1 (resolved)

Marine

source FOLDER/WWFg200_Marine_r15b
target FOLDER/WWFg200_Marine_r16b

  1. Renamed FOLDER/WWFg200_Marine_r15b_PROBLEM > FOLDER/WWFg200_Marine_r15b
  2. Using tool Corrected Scale Tool
  • FIXME: What is the correct mask folder? Using ROOT/CBIG_TOOLS/Masks
  1. 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
  2. FIXME: not progressing before it's clear what this is (see issue1)

WWF Terrestrial Ecoregions

ROOT = Z:/JOHANNA/t5_Vegetation_ecoregions_land_cover/WWF_Calculations FOLDER = ROOT/WWF_TerrestrialEcoregions/Input

Terrestrial

source FOLDER/WWF_TerrestrialEcoRegions_r15b
intermediate FOLDER/WWF_TerrestrialEcoRegions_r15b/SCALED/WWF_TerrestrialEcoRegions_r16 target FOLDER/WWF_TerrestrialEcoRegions_r16b

  1. 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.
  2. Correct Scale Tool launched starting from raster:
    WWFTerrEcor_CentralAfricanMangroves_r15b.tif
  3. FIXME Calculation causes error at least with 3 first rasters from 2 onwards. See issue5