Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

Please enter here to ask a question about any NASA Science related topics!
Post Reply
andrew.meredith
Posts: 28
Joined: Tue Dec 31, 2013 10:29 am America/New_York

Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

by andrew.meredith » Mon Sep 27, 2021 10:47 am America/New_York

I note the help indicates l1bextract_safe_nc is for extracting OLCI L1B, but was hoping it would also work with MERIS L1B SAFE files. Unfortunately it doesn't, but it would be great if it did. I get the following error trying to extract data from the latest MERIS RR 4th reprocessing data container:

$l1bextract_safe_nc -v --north=31.05 --south=24.18 --east=-79.02 --west=-87.97 EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/ ./

north=31.05 south=24.18 west=-87.97 east=-79.02

Locating pixel/line range ...
Error locating pixel/line range to extract.
No extract; lonlat2pixline status = 255

lonlat2pixline fails if given the geo_coordinates.nc file but works if I give it the xfdumanifest.xml

$lonlat2pixline /data/MERIS/RR_4th/EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/geo_coordinates.nc -87.97 24.18 -79.02 31.05
-E- lonlat2pixline: File type not recognized for /data/MERIS/RR_4th/EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/geo_coordinates.nc.

$lonlat2pixline /data/MERIS/RR_4th/EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/xfdumanifest.xml -87.97 24.18 -79.02 31.05
# 40 766 2363 3123
sline=2363
eline=3123
spixl=40
epixl=766

I'm running RHEL 7.9 on a VM.

Andrew

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 145
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

by OB SeaDAS - xuanyang02 » Mon Sep 27, 2021 11:42 am America/New_York

What tag of OCSSW are you using?

andrew.meredith
Posts: 28
Joined: Tue Dec 31, 2013 10:29 am America/New_York

Re: Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

by andrew.meredith » Mon Sep 27, 2021 2:03 pm America/New_York

I tried both V2021.2 and T2021.19

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 145
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

by OB SeaDAS - xuanyang02 » Mon Sep 27, 2021 2:28 pm America/New_York

Please try

Code: Select all

l1bextract_safe_nc -v --spixl 40 --epixl 766 --sline 2363 --eline 3123 EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/ ./

andrew.meredith
Posts: 28
Joined: Tue Dec 31, 2013 10:29 am America/New_York

Re: Error using l1bextract_safe_nc to extract MERIS 4th SAFE data

by andrew.meredith » Mon Sep 27, 2021 2:51 pm America/New_York

That worked.

l1bextract_safe_nc -v --spixl 40 --epixl 766 --sline 2363 --eline 3123 EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/ ./
spixl=33 epixl=769 sline=2353 eline=3137
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/time_coordinates.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M01_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M02_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M03_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M04_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M05_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M06_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M07_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M08_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M09_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M10_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M11_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M12_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M13_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M14_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/M15_radiance.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/qualityFlags.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/geo_coordinates.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/instrument_data.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/tie_geo_coordinates.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/tie_geometries.nc
Extracting EN1_MDSI_MER_RR__1P_20110101T153248_20110101T161618_046218_0083_20180816T074414_0100.SEN3/tie_meteo.nc

Post Reply