Closed falkamelung closed 3 years ago
In regards to moving them out of mintpy - I currently have a copy of all the ingest scripts inside of the insarmaps repo/python_scripts. Should I make a separate repo, or just keep them here?
I can't clone just python-scripts, can I? If not then, yes, a separate repo would be the easiest to deal with.
I can't clone just python-scripts, can I? If not then, yes, a separate repo would be the easiest to deal with.
Done, here is the new repo: https://github.com/geodesymiami/insarmaps_scripts/tree/master
I've added the --list option. please try it.
I also added more friendly messages to tell you when a remove worked or not, please also try it. I accidentally deleted S1_IW1_128_0596_0597_20160605_XXXXXXXX when testing this, sorry about that.
Get a confirmation that a data set exists - is this necessary after adding the --list option and the more clear messages when removing? If so, how do I add this. A --check-exists argument where you pass a unavco name and it tells if you if it exists?
That works. Thank you @stackTom ! Did you do something on the STDERR? Will check later. Closing for now.
Did not do anything with stderr. I'll have to investigate more. I think it's tippecanoe which writes to stderr.
To better debug when things don't work
The ingest scripts take very long. Is there an easy way to parallelize them? It would be good to have options to
We could just add options to what we have. I am using the alias below which works fine.
alias insarmapsremove='json_mbtiles2insarmaps.py -u insaradmin -p Insar123 --host insarmaps.miami.edu -P rsmastest -U rsmas@gmail.com --remove'
out_insarmaps.e
. Not everything what goes in there error. There are also strange characters. If we could change so that only real errors show up, and if there is no error file has zero size. (I just discovered that the piped files can bee viewed well usingmore
command - you may want to check how it converts characters)