Giter Club home page Giter Club logo

scalable-spatial-temporal-bfast's Introduction

Scalable spatial-temporal BFAST

Reproduction of the computations on the article "Spatio-Temporal Change Detection from Multidimensional Arrays: detecting deforestation from MODIS time series"

Files:

  • LICENSE - License file.
  • README.md - This file.
  • Docker files:
    • Dockerfile - Script for building a Docker Image.
    • setup.sh - Host script for removing former containers and images from host machine. Then, it creates a Docker image called "sstbfast_img".
  • Container files:
    • containerSetup.sh - Script for setting up SciDB. Then it runs the experiment.
    • createArray.afl - Array Functional Language script for creating an array to store MODIS data.
    • downloaddata.sh - Script for downloading MODIS data.
    • removeArrayVersions.sh - Script for removing array's versions.
    •   <li>SciDB configuration files:
          <ul>
            <li><code>conf</code> - SHIM configuration file. Shim is a web service that allows to query SciDB.</li>
      			<li><code>iquery.conf</code> - IQUERY configuration file.</li>
      			<li><code>scidb_docker.ini</code> - SciDB's configuration file.</li>
            <li><code>setEnvironment.sh</code> - Script for setting environment variables for SciDB's users.</li>
            <li><code>startScidb.sh</code> - Script for starting SciDB.</li>
            <li><code>stopScidb.sh</code> - Script for stopping SciDB.</li>
          </ul>
        </li>
      
        <li>Install additional software:
          <ul>
            <li><code>installBoost_1570.sh</code> - Script for installing the Boost libraries.</li>
            <li><code>installGribModis2SciDB.sh</code> - Script for installing the tool which export MODIS data to SciDB's binary.</li>
            <li><code>installPackages.R</code> - R script for installing R packages.</li>
            <li><code>installParallel.sh</code> - Script for installing GNU Parallel.</li>
            <li><code>installR.sh</code> - Script for installing R.</li>
            <li><code>libr_exec.so</code> - Precompiled <i>r_exec</i> library for SciDB 14.12.</li>
          </ul>
        </li>
      
        <li>Scripts for running the expriement:
          <ul>
            <li><code>reprosarefp.R</code> - Main R script of Scalable spatial-temporal BFAST.</li>
            <li><code>rexec_sar_efp_f.R</code> - Auxiliary R script of Scalable spatial-temporal BFAST.</li>
      				<li><code>SAR_efp_R.R</code> - R script for processing Scalable spatial-temporal BFAST without using SciDB. <b>NOTE</b>: This script is provided for comparing the results.</li>
            </ul>
          </li>
      	</ul>
      </li>
      

    Pre-requisites:

    • Internet access
    • Docker.io
    • SSH
    • The host's ports 49905 and 49905 must be available.

    Instructions:

    NOTE: The execution of these scripts can span for several days.
    1. Clone the project and then go to the cloned folder: git clone https://github.com/ifgi/scalable-spatial-temporal-BFAST.git
    2. Modify the configuration file scidb_docker.ini according to your needs and your hardware.
    3. Enable setup.sh for execution chmod +x setup.sh and run it ./setup.sh. This creates a new Docker image from the Dockerfile and then starts a container.
    4. Log into the container: ssh -p 49905 root@localhost. The default password is xxxx.xxxx.xxxx
    5. Execute the script /root/./containerSetup.sh. This script sets SciDB, downloads MODIS data to SciDB, and finally executes the experiment.

scalable-spatial-temporal-bfast's People

Contributors

albhasan avatar mengluchu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.