I have started exploring preprocessing Sentinel 1 data, and have found lots of useful threads here already.
However, I have found nothing on when users clip their graticule to an area of interest to save on processing power and time.
When is the earliest point this can be done?
September 4, 2017, 3:09pm
You can SubSet or Collocate or use Mask(s). Native functions in the interface, callable by GPT and/or snappy. So basically you should be more than fine with these options.
For Sentinel-1 there are other options for Interferometric stacks.
Thanks for the reply Petr, where can I find these options?
Sorry I’m unfamiliar with what GPT and snappy are
September 5, 2017, 1:59pm
Snappy is Python binding to SNAP Toolbox or rather the other way around and GPT is command line tool that comes with SNAP Toolbox basically it is the Toolbox without UI.
In the regular UI these options can be found under the “Raster” Submenu.
@ABraun and @marpet
I have an issue with clipping my processed sentinel1 image. I will be using this data for crop classification and I have a polygonal shape file for the AOI.
I used the land/sea mask and got a weird result. I am attaching the screenshots below, can you please look into it?
1st image shows my polygonal shape file.
2nd image shows the parameters
3rd image shows result1
4th image, i have selected the option “invert vector” incase it changes my result
5th image shows the same result as the result1
I even exported the SAR image into tiff in QGIS and the file size is 7 GB, is that normal? I am using GRD format. Also I tried clip raster by mask layer in that but it shows the following error.
Can anyone please look into this issue as sooner as possible?
March 27, 2023, 10:36am
Image 3 looks like the result you are looking for. Why do you want to invert it?
I tried the inversion option and it worked for me.
Regarding the files size. Your scene is quite huge. Depending on the data type of the bands this might be.
You could try NetCDF4-CF as data format. This might compress the data better.
For such big geotiff files compression should be enabled by default too.
Maybe something went wrong.
Could you send your log file, if you still have it?
See here on [how to find the log files].( https://senbox.atlassian.net/wiki/spaces/SNAP/pages/1898053693/SNAP+FAQs#How-to-find-the-log-files?)
Thanks for the prompt response.
I do not have the log files now. But, this file which is loaded in the SNAP is in the format of BEAM-DIMAP.
I tried the inversion option incase if there is sth wrong with it.
What shall I do? Shall I export it as Netcdf4 and then import it in Netcdf4 and later apply masking on that?
If that doesn’t work either, do you know how can I load Beam-Dimap into QGIS as Geotiff? I tried it but the clipping raster by mask layer gives the above error.
Thanks a lot.
March 27, 2023, 12:52pm
If you have stored the product as BEAM-DIMAP you find envi files in the *.data directory.
I think you can load them into QGIS.
I found the messages log file.
Please find it attached in here.
messages.log (79.1 KB)
ENVI files are into .hdr format. I haven’t worked with those previously, are they similar to tiff and are they as big as geotiff?
March 27, 2023, 1:38pm
Yes, they are also quite big. Because they are uncompressed. But there is one file for each band which makes them smaller on the other hand.
Thanks Marpet. I think that will help now.