Code Monkey home page Code Monkey logo

fsh's Introduction

Language Latest version License Citation

Forest Stand Height (FSH) Python Scripts

+ 1 command for InSAR preprocessing
+ 1 command for forest height inversion
+ 1 command for forest height mosaicking
+ Support for JAXA's ALOS and ALOS-2 data
+ Support for different ISCE versions (v2.2.0 and v2.4.1)
  • Windows (Anaconda Prompt)
  • Linux
  • OSX

This software performs the automated forest height inversion and mosaicking from spaceborne repeat-pass L-band HV-pol InSAR correlation magnitude data (e.g. JAXA’s ALOS-1/2, and the future NASA-ISRO’s NISAR) that have been pre-processed by JPL’s ROI_PAC and/or ISCE programs.

Produced by the University of Massachusetts Microwave Remote Sensing Laboratory.

Yang Lei ([email protected], [email protected]), Paul Siqueira ([email protected]).

Besides contacting the authors via email for technical questions, it is also recommended to refer to the closed issues or open a new issue on GitHub.

===================================================================================

Documentation

Please note that users will have to be able to generate their own interferograms using JPL's ROI_PAC or ISCE (insarApp.py workflow up to v2.2; stripmapApp.py workflow for v2.2+) software in order to use the FSH software. Information and tutorials regarding ISCE and interferogram processing can be found at here. To those interested in pursuing their own interferogram processing, we used modified ISCE scripts which are provided with the FSH software, and described here.

Here, we provide three test examples for FSH using JAXA's ALOS PALSAR interferograms that have been generated by ROI_PAC and ISCE (with both insarApp.py and stripmapApp.py workflows in v2.2), respectively.

===================================================================================

===================================================================================

Citation

Lei, Y., Siqueira, P., Torbick, N., Ducey, M., Chowdhury, D. and Salas, W., 2019. Generation of Large-Scale Moderate-Resolution Forest Height Mosaic With Spaceborne Repeat-Pass SAR Interferometry and Lidar. IEEE Transactions on Geoscience and Remote Sensing, 57(2), pp.770-787.

===================================================================================

===================================================================================

Contributors

  • Yang Lei
  • Tracy Whelen
  • Paul Siqueira
  • Diya Chowdhury
  • Gerard Ruiz Carregal
  • Thannarot Kunlamai
  • Tim Mayer
  • Helen Baldwin
  • Simon Kraatz

fsh's People

Contributors

leiyangleon avatar sgk0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsh's Issues

Issue in preprocessing ALOS 1 SAR data using single_scene_stripmapAPP py

I installed ISCE 2.5.3 version and updated the preprocessing scripts per instructions. I am trying to create interferograms using ALOS 1 raw data of the Maine region mentioned in the example. single_scene_stripmapApp Python script is creating reference.xml, secondary.xml, stripmapApp.xml, and stripmapProc.xml files. However, it is failing while running the below command from the single_scene_stripmapApp.py script.

cmd = '$ISCE_HOME/applications/stripmapApp.py stripmapApp.xml --end=interferogram | tee stripmapApp1.txt'

Attached are the error screenshot and all the log and XML files. Is there anything I am missing? Or Do I have to downgrade the ISCE version?

Screenshot 2022-11-06 at 3 22 23 PM

isce.log
stripmapApp1.txt
stripmapApp2.txt

Screenshot 2022-11-06 at 3 29 28 PM
Screenshot 2022-11-06 at 3 30 18 PM

Output Formats

I was able to successfully run the FSH scripts! Thank you for your assistance. One thing I wanted to clarify is, based on the readme I expected to get json, gif, tif, and mat outputs. I only have mat and json outputs (screenshot attached). Do you have any insight into this? Thanks!
FSH_output_04_05

TypeError in line 51 of remove_nonforest.py

Hi, I have accounted the TypeError "slice indices must be integers or None or have an __index__method" in line 51 of remove_nonforest.py while running through the example ROI_PAC dataset. Any assistance would be appreciated. I have attached a screenshot and please let me know if additional information would be helpful.

TypeError_Screenshot

Problem in preprocessing ALOS2 data with single_scene_stripmapApp.py

I'm trying to preprocess the ALOS2 data now with the single_scene_stripmapApp. For that I un-commented the lines in the file that are specific to ALOS2 and commented the ones for ALOS1. Everything seemed to work and I got the output:

Preprocessing Done!
23:27:28
stripmapApp xml Done!
23:27:28
stripmapApp Done!
23:27:28
Single pair of ###test_data/### Done !!!
23:27:28

However, I can't find any interferogram folder in my subfolder (that I also called test_data like in the example). By what I understood this (or at least one interferogram) should be created with the following line in single_scene_stripmapApp.py:

cmd = 'stripmapApp.py stripmapApp.xml --end=interferogram | tee stripmapApp1.txt'

I then just tried to execute this line on the command line and got the following error:

AttributeError: module 'isceobj.StripmapProc' has no attribute 'createRubbersheet'

I tried to locate this attribute in the FSH-code, but couldn't find anything. Most likely I'm just overlooking something simple. I'm sorry for asking these easy questions. It's just that I'd really like to understand more about using the algorithm properly.

Running ISCE (insarApp.py) and FSH on Ubuntu 18.04

Running ISCE (insarApp.py) and FSH on Ubuntu 18.04
ISCE:

  • “Key Error: formatters” error → fixed by reinstalling anaconda and required packages following instructions here: http://earthdef.caltech.edu/boards/4/topics/1405

  • “Exception: Offset estimation failed” → checked the DEM with mdx.py to make sure it downloaded properly (see here: http://earthdef.caltech.edu/boards/4/topics/309?r=317#message-317). In my case, DEM was all zeroes indicating that it didn’t download properly. Fixed after selecting the “auto authorize” button within EarthData to see a full list of LP DAAC apps (including opendaps, as specified on the ISCE2 GitHub), authorizing those apps, and rerunning.

FSH:

  • Error “List index out of range” → make sure that there are no empty lines following the required information in flagfile.txt

For Py3 version

  • “Attribute Error: ‘module’ object has no attribute ‘getoutput’” → will update when I figure this one out, py2 version successful

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.