Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

yjzhenglamarmota
Copy link
Contributor

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.

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.
Copy link
Collaborator

@hfattahi hfattahi left a 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?

Comment on lines +66 to +81
# #### 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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove commented code.

Comment on lines +191 to +196
###### 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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants