Git Product home page Git Product logo

insar_g2s's People

Contributors

dedetmix avatar steffandavies 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

Watchers

 avatar  avatar  avatar

insar_g2s's Issues

correct_forum error

When I use INSAR_G2S for dealing with a stack of Sentinel-1 for StaMPS PS.
The step 11 Convert GMTSAR result, the correct_forum error because of Index in position 1 exceeds array bounds.
I check the matlab, and find the aa exceed the index.
image

scihub_poeorb_download.sh error (mv: cannot stat [...] file name too long

Sometimes the scihub_poeorb_download.sh script will produce an error due to file name length in the following step:

# download POE
wget -r -l1 -nd "http://aux.sentinel1.eo.esa.int/POEORB/$year/$month/$day/" --no-check-certificate --no-parent
orb_fix=$(ls -1 "$type"*.EOF)
echo "put $orb_fix in raw_orig"
mv $orb_fix $raw_org/.

I don't think using ls is good practice to extract filenames and it can cause bugs. The solution is to use the following code by leveraging the find command instead of using mv on a ls result:

# download POE
  wget -r -l1 -nd "http://aux.sentinel1.eo.esa.int/POEORB/$year/$month/$day/" --no-check-certificate --no-parent
  orb_fix=$(ls -1 "$type"*.EOF)
  echo "put $orb_fix in raw_orig"
  find -name "$type*.EOF" -exec mv '{}' $raw_org/. \;

The ls command can perhaps be removed but this is enough to fix the issue for now.

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.