Comments (9)
Hi! Glad to hear that it is working.
The "too many points failed to transform" warnings are related to GDAL. I also get the same error, I'm not sure what to do about it either - it may be a limitation of the geolocation array approach. But I haven't seen any trouble in the resulting tiff files, so I think you can ignore it.
As to the "free disk error", I'm also not surprised - because you said you want to use a geocode spacing = 1, which will take up about 100x more disk space than the raw image.
Please keep in mind: posting should generally be smaller or the same as the geocode spacing, but not greater. By setting posting to 100, the image is multi-looked (here, 10x in azimuth and 10x in range) to go from the 10 m x 10 m to 100 m x 100 m. The purpose of this step is to reduce the disk space and computing time needed for geocoding the image.
from isce2.
@piyushrpt, yes, if you could retire #119 that would be great,. Thanks!
from isce2.
That is expected. The output at 10x10 is 100 times larger than 100x100. A lot more interpolations need to happen - 4 times is better than 100 times which is the size of the output.
from isce2.
We haven't added the geocode step as part of the rtcApp.py workflow yet. We've been using a geolocation array approach outside of the workflow, as in this example: https://github.com/isce-framework/isce2-docs/blob/master/Notebooks/GDAL/03_RasterProjection.ipynb. I'll try to add this step in the near future
I'm not sure about errors in the input file, will look into it.
from isce2.
@HBaldwin3 - #128 has been merged. Could you let us know if this suffices?
@sgk0 - thanks for looking into this promptly.
If everything looks ok, I will retire #119
from isce2.
Thank you so much for the fix! I tried the latest changes and it runs geocoding step as expected.
When I tried it with spacing
100, I didn't notice any errors/warnings.
But doing the same with spacing
10 generated the following warnings.
(although the geocoded output was produced)
****Geocoding file 1 out of 2: gamma_VV.10alks_10rlks.img.vrt****
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 0,0,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 3564,0,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 17821,18732,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 21385,18732,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 24949,18732,3565,2676, skipping.
****Geocoding file 2 out of 2: gamma_VH.10alks_10rlks.img.vrt****
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 0,0,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 3564,0,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 17821,18732,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 21385,18732,3564,2676, skipping.
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 24949,18732,3565,2676, skipping.
2020-05-07 15:02:06,908 - isce.grdsar - INFO - Total Time: 431 seconds
And setting spacing
as 1 crashes the geocoding step because of the huge space requirements
****Geocoding file 1 out of 2: gamma_VV.10alks_10rlks.img.vrt****
ERROR 3: Free disk space available is 151300382720 bytes, whereas 244175362812 are at least necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration option to FALSE.
****Geocoding file 2 out of 2: gamma_VH.10alks_10rlks.img.vrt****
ERROR 3: Free disk space available is 151300382720 bytes, whereas 244175362812 are at least necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration option to FALSE.
2020-05-07 18:48:24,795 - isce.grdsar - INFO - Total Time: 54 seconds
Is this expected?
Config:
<rtcApp>
<constant name="dir">/usr/local/google/home/ashobhit/isce2</constant>
<component name="rtcApp">
<property name="sensor name">sentinel1</property>
<property name="posting">100</property>
<property name="polarizations">[VV, VH]</property>
<property name="epsg id">32645</property>
<property name="geocode spacing">10</property>
<property name="geocode interpolation method">bilinear</property>
<component name="master">
<property name="safe">$dir$/S1A_IW_GRDH_1SDV_20200320T121408_20200320T121433_031759_03A9BC_4532.zip</property>
<property name="orbit directory">$dir$/orbits</property>
<property name="output directory">$dir$/sentinel_output</property>
</component>
</component>
</rtcApp>
from isce2.
The radar swath is not perfectly oriented N-S/ W-E. The warnings are just GDAL letting you know that on the geocoded grid which is oriented N-S/W-E it did not find any data that could be used to fill up and that it will fill that part with nodata.
from isce2.
Please keep in mind: posting should generally be smaller or the same as the geocode spacing, but not greater. By setting posting to 100, the image is multi-looked (here, 10x in azimuth and 10x in range) to go from the 10 m x 10 m to 100 m x 100 m. The purpose of this step is to reduce the disk space and computing time needed for geocoding the image.
@sgk0
With spacing 10 and posting 10, it took 1811 seconds.
But with spacing 10 and posting 100, it took 440 seconds.
It was 4 times slower when posting and spacing were same.
from isce2.
Closed by #128
from isce2.
Related Issues (20)
- Ion parameter file
- make_single_reference_isce; how to set the value of range_looks and azimuth_looks
- run_07_pairs_misreg - Segmentation fault (core dumped) HOT 2
- how to move stack to another path or drive HOT 3
- Issue in Stamps Step (1,1) HOT 3
- IndexError in Offset.py HOT 9
- How to use stackStripMap.py to process a stack of TerraSAR-X images HOT 1
- Inconsistency in the format of the parameter "-b/--bbox"
- fetchOrbit.py Error to download POD HOT 1
- alosStack create_cmds error : startingswath HOT 1
- alosStack estimated interferogram coherence larger than 1 HOT 1
- How can change coherence chip dimention
- topsApp.py error HOT 2
- encounter buffer overflow problem when extracting ALOS level-1 data from alaska archive
- Short question - Masking interferograms before unwrapping
- Including brief description for downloading Sentienl-1 SLC data in topsStack documentation. HOT 1
- An import error when using the function of estCpxCoherence
- run_07_pairs_misreg ,Bad match at level 1,how to deal it? HOT 1
- runESD error
- stripmapApp.py lutan.xml --------ImportError: /lib/libgdal.so.30: undefined symbol: GEOSMakeValidWithParams_r and core dumped:Segmentation Fault HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isce2.