Code Monkey home page Code Monkey logo

pacom's Introduction

PACOM

PACOM tool set provides software to generate metric maps and indicator maps for the PACOM framework using ratio maps (i.e. the output of digital population kernel analysis).

#Software instruction http://digitalpopulations.pbworks.com/w/page/110164099/PACOM

#What does it do?

  • Generate PACOM metric maps for each realization by combining ratio maps of the same attributes
  • Generate PACOM indicator maps for each realization by combining metric maps; spatial associated random error is added in this process
  • Generate summary statistics for metric maps and indicator maps of all realizations

#Prerequisites

#Compile and run metric.sh and indicator.sh are bash scripts that can be run directly without compiling.
However, two supplementary tools: Spatial Random Field Generator and Density Map Raster Calculation tool needs to be compiled. To compile these two tools, go to the src directory and run make. To run the metric tool metric.sh OutputFileName MinRzn MaxRzn InputRatioMap1 MinWeight1 MaxWeight1 InputRatioMap2 MinWeight2 MaxWeight2 .... Input arguments

  1. OutputFieldName: the output GeoTiff files for realizations i. the files will be named like: OutputFileName_rzn###.tif, OutputFileName_mean.tif, OutputFileName_sd.tif and etc.
  2. MinRzn: the index of the first realization to be analyze
  3. MaxRzn: the index of the last realization to be analyzed
  4. InputRatioMapN MinWeightN MaxWeightN: the file name and the weight range of each input ratio map i. There can be as many as 26 input ratio maps. Each input map must be followed by the minimum and maximum weight of that map ii. The input ratio maps are named such as InputRatio1_rzn###.tif iii. The MinWeight and MaxWeight must be between 0.0 to 1.0; the actual weight will be uniformly sampled between this range

To run the indicator tool indicator.sh OutputFileName MinRzn MaxRzn D_RF E_RF F_RF MinWeight_RF MaxWeight_RF InputMetric1 MinWeight1 MaxWeight1 InputMetric2 MinWeight2 MaxWeight2 .... Input arguments

  1. OutputFieldName: the output GeoTiff files for realizations i. the files will be named like: OutputFileName_rzn###.tif, OutputFileName_mean.tif, OutputFileName_sd.tif and etc.
  2. MinRzn: the index of the first realization to be analyzed
  3. MaxRzn: the index of the last realization to be analyzed
  4. D_RF E_RF F_RF: the D, E and F of the filtering function to generate the spatial random field. More details of them are in http://digitalpopulations.pbworks.com/w/page/110082820/SpatialRandomFieldGenerator
  5. InputMetric1 MinWeight1 MaxWeight1: the file name and the weight range of each ratio map i. There can be as many as 26 input metric maps. Each input map must be followed by the minimum and maximum weight of that map ii. The input ratio maps are named such as InputMetric1_rzn###.tif iii. The MinWeight and MaxWeight must be between 0.0 to 1.0; the actual weight will be uniformly sampled between this range

pacom's People

Contributors

tsccsj avatar

Watchers

 avatar

pacom's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.