-
Notifications
You must be signed in to change notification settings - Fork 253
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
ERS stack processing #736
base: main
Are you sure you want to change the base?
ERS stack processing #736
Conversation
Added orbit data type
The arclist file in the more complete ODR orbit files downloaded from http://www.deos.tudelft.nl/AS/pieter/Local/ERS/index.html (contains ERS-2 orbit files beyond 2003) has slight format change and the original hard coded line parser no longer works. The updated version should work both for the new and old versions of arclist.
6d3c180
to
f226619
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yjzhenglamarmota. The changes look fine to me. Would you please just remove the commented codes. Also would you please confirm this is the latest and greatest that worked for you in processing the large stack of ERS data?
# #### computation of "poly" adapted from line 339 - line 353 of Components/isceobj/Sensor/ERS_EnviSAT_SLC.py ### | ||
####### removed this section and added obj.extractDoppler() above instead. Doesn't seem to change anything in the processing. The latter is required for cropFrame. | ||
# coeffs = obj.dopplerRangeTime | ||
# dr = obj.frame.getInstrument().getRangePixelSize() | ||
# rref = 0.5 * Const.c * obj.rangeRefTime | ||
# r0 = obj.frame.getStartingRange() | ||
# norm = 0.5 * Const.c / dr | ||
|
||
# dcoeffs = [] | ||
# for ind, val in enumerate(coeffs): | ||
# dcoeffs.append( val / (norm**ind)) | ||
|
||
# poly = Poly1D.Poly1D() | ||
# poly.initPoly(order=len(coeffs)-1) | ||
# poly.setMean( (rref - r0)/dr - 1.0) | ||
# poly.setCoeffs(dcoeffs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove commented code.
###### commented the following because it is not always present in the new arclist file ############ | ||
# arc.slrResidual = line[34:38] # Satellite laser ranging residual in cm | ||
# arc.crossOver = line[39:43] | ||
# arc.altimeter = line[45:49] | ||
# arc.repeat = line[51:57] # Repeat cycle in days | ||
# arc.version = line[58:61] # Version number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the commented code.
I have been processing ERS1/2 data from ESA (http://esar-ds.eo.esa.int/socat/SAR_IMS_1P/) and thought it would be helpful to add the following script to stripmapStack before we can run stackStripMap.py for ERS data.
unpackFrame_ERS_ENV.py
I have also updated ODR.py because the updated Delft orbits have some format changes, and the original hard-coded line https://github.com/yjzhenglamarmota/isce2/blob/7fcf2c5662627842a788e5954778d98e2b3ca3e7/components/isceobj/Orbit/ODR.py#L185parser no longer works. The updated version work for both the old arclist files and the new ones.