Replies: 1 comment 1 reply
-
Hi @gr4n0t4. True, this value is hard-coded for pyroSAR.snap.auxil.writer. To optionally change the output nodata value would make sense. However, the internally used gdal.TranslateOptions just has a from spatialist.envi import HDRobject
with HDRobject(hdrfile) as hdr:
hdr.data_ignore_value = 0
hdr.write(hdrfile) Once this is done, passing FYI, I have recently restructured the S1_NRB processor to no longer make use of pyroSAR.snap.util.geocode. See S1_NRB.snap. |
Beta Was this translation helpful? Give feedback.
-
Hi, the "noData" value for the write function is set to '0'
For ERS1/2 & ASAR sensor it would work best with 'NaN' instead of '0', I'm being told that could be an issue for the "log scaled images" in S1
So to implement this option would it be best to add a optional parameter to the writer function or to check the sensor inside as it is done for writing the SAFE file?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions