Dear Suresh Krishnan,
Thank you for your question.
Best is to post your question directly to https://groups.google.com/forum/?hl=en#!forum/TRAIN_support, as it allows me to generate of an archive of Q & A.
You will need to subscribe as member first.
The “.dem” is not an actual format but rather an extension.
You can have a filename without “.dem”, which you set using setparm_aps, e.g. setparm_aps(‘demfile’,’~/mydem.bil’) in case your dem filename is ~/mydem.bil
However, you need to make sure there is a corresponding “.rsc” file, which contains the information about your dem, e.g. a file ~/mydem.bil.rsc
Within this file you will need to specify the width, length, upper left lonlat corner, the grid interval, and optional the format.
Often you will need to make this input “.rsc” file manually.
The manual has a bit more information on the inputs.
I normally use the DEM constructed using the StaMPS/ DORIS construct_dem.sh script.
For a DEM generated in another way or not in the roipac, doris, or stamps processing it will be a bit more tricky, and it can be a bit of trial and error till it displays correctly.
The format can vary from integer, float, to real 4, which can be specified in the .rsc file.
Not sure what your current dem format is, or if there is header information.
Let me know if I can help further.
Cheers,
David
From: suresh krishnan [mailto:sureshk...@gmail.com]
Sent: 20 April 2015 09:42
To: David Bekaert
Subject: query on Train- reg
Dear Mr.David,
I would like to appreciate your work on train.
Actually, I am making use of this toolbox for my master's thesis work. But I have a query on that "how to convert dem from .bil or .tiff format to .dem format"
Thanks
Suresh Krishnan PV
--
You received this message because you are subscribed to the Google Groups "TRAIN - Toolbox for Reducing Atmospheric InSAR Noise" group.
To unsubscribe from this group and stop receiving emails from it, send an email to TRAIN_support+unsubscribe@googlegroups.com.
To post to this group, send email to TRAIN_...@googlegroups.com.
Visit this group at https://groups.google.com/group/TRAIN_support.
To view this discussion on the web visit https://groups.google.com/d/msgid/TRAIN_support/b1d13f46-96c6-4893-94ad-8d790a35162d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I suggest to use that as does not require to set up the .rsc file and is therefore easier.hi,Regarding the DEM files.In the latest version of TRAIN (2beta) I incorporated a .grd support.At the moment there is not yet such a gamma2train script, however I welcome any contributions and will include them in the next release.D.
On 29 September 2016 at 06:26, Shuai Wang <wang0814...@gmail.com> wrote:
Dear Dr David,I would like to greatly appreciate your work on TRAINI am now using Gamma software to process InSAR data, so I have to convert the results obtained by Gamma to the format required by TRAIN. But I have a query on the format of final_*.dem, as I can not convert to this format correctly. The result when I running aps_era(1,1) is showed in figure 2, I think this problem lies in the process of reading final_*.dem file, but I am not sure. What's more, I wonder whether there are some Toolboxes that can convert the results obtained by Gamma to the format required by TRAIN.Best regardsShuai Wang
--
You received this message because you are subscribed to the Google Groups "TRAIN - Toolbox for Reducing Atmospheric InSAR Noise" group.
To unsubscribe from this group and stop receiving emails from it, send an email to TRAIN_suppor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/TRAIN_support/95beffa7-659f-45be-aa50-02da3637c977%40googlegroups.com.