Opened 5 years ago

Last modified 4 years ago

#3701 new defect

i.sentinel.prep fails with southern hemisphere Sentinel 2 level 1 data

Reported by: geomax22 Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: Addons Version: unspecified
Keywords: Cc: 7.4.2
CPU: x86-64 Platform: MSWindows

Description

Using Sentinel S2A_MSIL1C from USGS in an area in Western Australia (UTM Zone 50 South ) fails when trying to create an input file for i.sentinel.mask with the error: "C:\Users\Max\AppData\Roaming\GRASS7\addons\scripts\i.sentinel.preproc.py -a -t input_dir=E:\S2_Abrholos\Sentinel\S2A_MSIL1C_20181128T021341_N0207_R060_T50JKN_20181128T080405.SAFE elevation=bathy_LL_sub_utm50@S2 atmospheric_model=Automatic aerosol_model=Continental model aod_value=0.07 suffix=depth text_file=mask_prep ERROR: Latitude -29.3983025 is out of range (Wed Dec 05 13:13:03 2018) Command finished (7 sec) All works fine with imagery in the northern hemisphere.

Change History (3)

in reply to:  description comment:1 by mlennert, 5 years ago

Replying to geomax22:

Using Sentinel S2A_MSIL1C from USGS in an area in Western Australia (UTM Zone 50 South ) fails when trying to create an input file for i.sentinel.mask with the error: "C:\Users\Max\AppData\Roaming\GRASS7\addons\scripts\i.sentinel.preproc.py -a -t input_dir=E:\S2_Abrholos\Sentinel\S2A_MSIL1C_20181128T021341_N0207_R060_T50JKN_20181128T080405.SAFE elevation=bathy_LL_sub_utm50@S2 atmospheric_model=Automatic aerosol_model=Continental model aod_value=0.07 suffix=depth text_file=mask_prep ERROR: Latitude -29.3983025 is out of range (Wed Dec 05 13:13:03 2018) Command finished (7 sec) All works fine with imagery in the northern hemisphere.

The '>' and '<' were inverted for negative numbers. Should be corrected in r73762. That should be available for Windows by tomorrow the latest.

comment:2 by martinl, 5 years ago

Remove Milestone from Addons bugreports.

comment:3 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.