-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concatenating chunks and tracks suggestions #11
Comments
Hi Professor,
Xiaoran. |
Great, thank you! Will try later. Something I see is that we may want to have a MimtPy/docs/requirements.txt for the conda installation as we have for the other packages. For now it seems to need |
Here what I think
This means that the auto settings should be:
(Do we need
3.x I see that concatenate_chunks.py calls 'track_offset.py'. That sounds like it calculates offsets between tracks, which it does not do. Any idea about better names. Maybe 'chunk_offset.py' is more appropriate? 3a.
Hmmm.... You probably don't have time for this right now.... (but we certainly should do this for the Tibet paper). Maybe we can add, dependent or independent from the paper, an example to MimtPy as Sara did for MinoPy (and we have in MintPy)? It would be something like
Minors:
There are also white lines earlier. Could we have white lines just when we go from one chunk to the next?
|
Other items.
Do you have MintPy functions copied? That is a bit dangerous but you know this of course. |
Items on 'concatenate_tracks.py'
|
(from another issue which is closed now) I see that you use $SCRATCHDIR in the script. Lets avoid this. We should first have a version where all files are given with full path. Then, if —project is given it calls a module that sets the paths and does globs to find the S1 file Currently you would call it being in $SRATCHDIR. That is different to all our scripts.So the ‘normal way’ would be
For convenience you could also call it::
|
Hi @ranneylxr : Here are two examples of problems that can occur with the current globbing in
Other concatenate_tracks.py suggestions:
|
Hi @falkamelung,
|
The chunks are generated by minsar using a script
generate_chunk_template_files.py $TE/MakranBigSenDT166.template --latStep 1.0 latMargin 0.1
. Currently we doloop_tracks.py --project MakranChunk --tracks SenDT166 --chunk
. We should aim to run a concatenation script at the end of the chunk processing that allow to concatenate all existing of selected chunks.After the processing we should be able to generate the plots using
For concatenating tracks we could name it
the --outdir default would be
MakranSenDT
(I am not sure now when I am writing this how
project
orproject_name
is used if no*template
file is given. I think it looks for a/mintpy/smallbaselineApp.cfg
but I forgot. )( I am not sure about the positional arguments: We could alternatively have all the files that we want to concatenate as positional argument:
concatenate_chunks.py MakranChunk*SenDT166
orconcatenate_chunks.py MakranChunk2{5,6}SenDT166
)The text was updated successfully, but these errors were encountered: