nasa-jpl / autoRIFT

A Python module of a fast and intelligent algorithm for finding the pixel displacement between two images
Apache License 2.0
218 stars 53 forks source link

tsx data? #75

Open 10go-L opened 1 year ago

10go-L commented 1 year ago

Hello,

I'm trying to apply autoRIFT on some TSX data no-multilooked. Would you give me a hand?

I ran dense-offsets to the data with ISCE2 stack processor, so it is coregistered. Then I wanted to run autoRIFT and I'm able to, but I have problems geocoding it.

As I understood, I have to use "testGeogrid_ISCE.py" to generate the files that will help me to geocode the results. I'm doing everything in jupyter so I'm using the modular version of it (with ISCE). What I'm doing now is:

  1. Question 1: DEM

`obj_geo = Geogrid() obj_geo.startingRange = 0 # starting range

obj_geo.rangePixelSize = 0.9 # range pixel size

obj_geo.sensingStart = 0 # starting azimuth time

obj_geo.prf = 3.75294127618397079E+03 # pulse repition frequency

obj_geo.lookSide = -1 # look side, e.g. -1 for right looking

obj_geo.repeatTime = 12 # time period between the acquisition of the two radar images

obj_geo.numberOfLines = 5879 # number of lines (in azimuth)

obj_geo.numberOfSamples = 8152 # number of samples (in range)

obj_geo.orbit = # ISCE orbit data structure

obj_geo.incidenceAngle = 3.33184065588958731E+01 # local incidence angle of radar wave

obj_geo.demname = 'merged/geom_reference/hgt.rdr' # DEM in radar coor

obj_geo.geogrid()`

and I have the following error: Exception: Geographic coordinate system encountered

For DEM I'm using the DEM generated on the stack processor hgt.rdr in radar coordinates.

  1. Question 2: Orbit file? For TSX, any idea what file I should use, or do I have to generate a new one with data that I don't have?

Thanks!

P.S.: Probably more questions coming

SoleHeredia commented 1 year ago

Hi! I did the same with dense_offset and now I want to apply the autoRIFT to compare the results but I do not know how to use autoRIFT. Could you give me a hand? What did you do after running ISCE2? Is there any tutorial? Thank you in advance!

10go-L commented 1 year ago

Hey @SoleHeredia is this too late? Let me know and I can explain how I did it. At the end I was only able to use it in radar coordinates.

SoleHeredia commented 1 year ago

Hi @10go-L, no it is not late, actually, I couldn´t use autoRIFT. I am only working with denseOffsets but I really would like to use autoRIFT, so if you could give me a hand it would be nice! Thank you!!

10go-L commented 1 year ago

Excellent, I'll try to compile the work I did for this weekend and let you know! Probably by next week.

SoleHeredia commented 1 year ago

Oh thank you! is you can send me the steps it would be great! thank you very much in advance!!!