Code Monkey home page Code Monkey logo

rsgislib's Introduction

rsgislib

This repository contains modified Python scripts that utilise the Remote Sensing and GIS software library (RSGISLib) for processing JAXA's SAR mosaic image datasets. These are based on the original scripts developed by Dr Peter Bunting (Aberystwyth University) and Dr Daniel Clewley (University of Southern California) for the Global Magrove Watch Workshop during the 20th Science Team Meeting of the Kyoto & Carbon Initiative on December 2013 held in Tokyo, Japan. Visit RSGISLib for more information.

A brief description of the scripts is as follows including the order of execution:

For working with JERS-1/PALSAR mosaics provided through K&C Initiative, these scripts should be executed first:

  • untar-files.py -- decompresses the tar.gz file into a directory with the same name as the tar.gz file
  • generate-header.py -- decompresses tar.gz file into a directory and creates header files for each image inside

For working with mosaics downloaded through the JAXA portal, note that the images within tar.gz files already contain header files. Hence, the generate header script can be skipped. The scripts may be executed as follows:

  • untar-files.py -- decompresses the tar.gz file into a directory with the same name as the tar.gz file
  • mosaic-data.py -- creates a mosaic image using the input parameters set at command line
  • subset-files.py -- subsets the images that fits a specified file type and a given vector shapefile. Note that the specified file type and bounding box shapefile are currently hardcoded in the script
  • calibrate-data.py -- calibrates the mosaic data to power (non-dB) values

rsgislib's People

Contributors

dondealban avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rsgislib's Issues

Cannot use rsgislib to do segmentation

I installed the rsgislib 3.1.1225 in python 2.7 in mac. But I cannot use it to do segmentation. Here is my code:

from rsgislib.segmentation import segutils

but output is:


ImportError Traceback (most recent call last)
in ()
----> 1 from rsgislib.segmentation import segutils

/Users/Jianhua/anaconda/lib/python2.7/site-packages/rsgislib/segmentation/init.py in ()
36
37 # import the C++ extension into this level
---> 38 from ._segmentation import *
39 import warnings
40

ImportError: dlopen(/Users/Jianhua/anaconda/lib/python2.7/site-packages/rsgislib/segmentation/_segmentation.so, 2): Library not loaded: @rpath/libgeos-3.5.1.dylib
Referenced from: /Users/Jianhua/anaconda/lib/librsgis_cmds.1.1.0.dylib
Reason: image not found

can someone tell me what is wrong?

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.