-
Notifications
You must be signed in to change notification settings - Fork 244
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
Erorr after run ./run_05_fullBurst_resample #660
Comments
Hi @rtburns-jpl and @InSAR2023, I am using the latest source code (with #639). I got the same thing in Although #639 fix the #649 shows a temporary workaround to downgrade the numpy to 1.23. |
I think you can just replace |
After run below codes, it's works. python -m pip uninstall numpy |
After installing version 1.23, I get the following error: ******************** step - load_data ******************** prepare metadata files for isce products updateMode : True System information
|
Completed Parsing the Configuration file
Functions to be executed:
['Function-1']
Running: resamp_withCarrier
['--secondary', '/media/ahmed/easythree/Data/secondarys/20210218', '--reference', '/media/ahmed/easythree/Data/reference', '--coregdir', '/media/ahmed/easythree/Data/coreg_secondarys/20210218', '--azimuth_misreg', '/media/ahmed/easythree/Data/misreg/azimuth/dates/20210218.txt', '--range_misreg', '/media/ahmed/easythree/Data/misreg/range/dates/20210218.txt']
This is the Open Source version of ISCE.
Some of the workflows depend on a separate licensed package.
To obtain the licensed package, please make a request for ISCE
through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.
Alternatively, if you are a member, or can become a member of WinSAR
you may be able to obtain access to a version of the licensed sofware at
https://winsar.unavco.org/software/isce
Estimated burst offset: 0
Shifts: {0: 0, 1: 0, 2: -1, 3: 0}
Polynomial Order: 0 - by - 0
0
Polynomial Order: 0 - by - 0
0
Traceback (most recent call last):
File "/home/ahmed/tools_insar/proc_insar/isce2/contrib/stack/topsStack/SentinelWrapper.py", line 251, in
main(args.start,args.end)
File "/home/ahmed/tools_insar/proc_insar/isce2/contrib/stack/topsStack/SentinelWrapper.py", line 242, in main
cfgParser.runCmd()
File "/home/ahmed/tools_insar/proc_insar/isce2/contrib/stack/topsStack/SentinelWrapper.py", line 54, in runCmd
func_modules.main(self.funcParams[section])
File "/home/ahmed/tools_insar/proc_insar/isce2/contrib/stack/topsStack/resamp_withCarrier.py", line 259, in main
azCarrPoly, dpoly = secondary.estimateAzimuthCarrierPolynomials(slvBurst, offset = -1.0 * offset)
File "/home/ahmed/anaconda3/envs/InSARenv/lib/python3.10/site-packages/isce/components/isceobj/Sensor/TOPS/TOPSSwathSLCProduct.py", line 285, in estimateAzimuthCarrierPolynomials
x = np.arange(0, burst.numberOfSamples,xstep,dtype=np.int)
File "/home/ahmed/anaconda3/envs/InSARenv/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'int'.
np.int
was a deprecated alias for the builtinint
. To avoid this error in existing code, useint
by itself. Doing this will not modify any behavior and is safe. When replacingnp.int
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?
The text was updated successfully, but these errors were encountered: