On Tue, Jan 23, 2018 at 12:25 PM, Stefan Blumentrath < [email protected]> wrote: > > No problem. Any chance I can contribute to maintenance of create_iwave.py? > > What needs to be done? Take your latest changes into account?
nodata handling should be changed. In read_input(), missing values should be set to zero. Then for each band, leading and trailing zeros would be set to -1. This helps interpolate_band() to get the correct subrange. For each band, create_iwave.py should print out the band name and the wavelength as min - max. Care must be taken when finding reasonable min and max wavelengths: find the max response, then go back while response > threshold to find the min wavelength. Go forward while response > threshold to find the max wavelength. As threshold I suggest 0.1 to eliminate noise in the response values. Markus M > > > > If you think it makes sense I will try to create a patch for adding S2B to i.atcorr (would be a nice exercise and does not seem too complex)? Will open a ticket and start working on it unless you tell me different. > > > > Cheers > > Stefan > > > > > > > > From: grass-user [mailto:[email protected]] On Behalf Of Markus Metz > Sent: tirsdag 23. januar 2018 12.03 > To: Markus Neteler <[email protected]> > Cc: GRASS user list <[email protected]> > Subject: Re: [GRASS-user] i.atcorr with Sentinel2 > > > > > > On Tue, Jan 23, 2018 at 11:51 AM, Markus Neteler < > [email protected]> wrote: > > > > > On Tue, Jan 23, 2018 at 11:09 AM, Žofie Cimburová > > < > [email protected]> wrote: > > > > Forgot to cc the list. > > > > > > The CSV and the cpp template: > > > > https://www.dropbox.com/sh/9cnhsl59kvmx4o1/AABwnEVHdxfW_PqrB5Xcpczda?dl=0 > > > > > Great! Would you mind to also convert the S2A table? AFAIK it got > > updated due to recalibration compared to what we currently have. > > please wait a bit with creating the cpp template, create_iwave.py needs some maintenance > > Markus M > > > > > > > markusN > > _______________________________________________ > > grass-user mailing list > > [email protected] > > https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
