Giter Site home page Giter Site logo

Comments (2)

piyushrpt avatar piyushrpt commented on July 29, 2024

Check the filenames in the xml that goes with the new file. It probably does not include "merged" in the file name fields. All paths in xml should be absolute or relative to the main working directory,

from isce2.

EJFielding avatar EJFielding commented on July 29, 2024

You are right. I created the new file with imageMath.py inside the "merged" directory, so it did not have that path added in the xml file.

diff filt_topophase.unw.xml filt_topophase_msk.unw.xml
76c76
<         <value>['/u/pez0/fielding/tools/ISCE2_test/install/isce/applications/imageMath.py -e=a_0*(abs(b)!=0);a_1*(abs(b)!=0) --a=tmp.unw --b=merged/filt_topophase.flat -s BIL -o=merged/filt_topophase.unw']</value>
---
>         <value>['/u/pez0/fielding/tools/ISCE2_test/install/isce/applications/imageMath.py -e=a_0*(b&gt;0)*(abs(c)!=0)*(f&gt;200);a_1*(b&gt;0)*(abs(c)!=0)*(f&gt;200) --a=filt_topophase.unw --b=filt_topophase.unw.conncomp --c=filt_topophase.flat --f=filt_topophase-rewrap-20rad-full.float -s BIL -o=filt_topophase_msk.unw']</value>
80c80
<         <value>merged/filt_topophase.unw.vrt</value>
---
>         <value>filt_topophase_msk.unw.vrt</value>
88c88
<         <value>merged/filt_topophase.unw</value>
---
>         <value>filt_topophase_msk.unw</value>

The file name in the vrt file has no path in either file:

diff filt_topophase.unw.vrt filt_topophase_msk.unw.vrt
3c3
<         <SourceFilename relativeToVRT="1">filt_topophase.unw</SourceFilename>
---
>         <SourceFilename relativeToVRT="1">filt_topophase_msk.unw</SourceFilename>
10c10
<         <SourceFilename relativeToVRT="1">filt_topophase.unw</SourceFilename>
---
>         <SourceFilename relativeToVRT="1">filt_topophase_msk.unw</SourceFilename>

I hope this helps someone else that might face this problem.

from isce2.

Related Issues (20)

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.