SeaHawk/Hawkeye L1B geolocation issue
Posted: Thu Jun 15, 2023 10:26 am America/New_York
I am processing a Hawkeye image from L1A to L1B in SeaDAS 8.3.9 for Ventura using OCSSW tools.
First, I process the GEO file:
Without any apparent errors:
geolocate_hawkeye 0.772 (Nov 28 2022 12:23:08)
roll_offset=1.06
time_offset=-3.39
Dimension Name: number_of_scans Dimension Size: 6000
Dimension Name: number_of_pixels Dimension Size: 1800
Dimension Name: quaternion_elements Dimension Size: 4
Dimension Name: vector_elements Dimension Size: 3
sname: scan_time
double scan_time(number_of_scans) ; 0 number_of_scans 6000
[...etc.]
sname: quality_flag
ubyte quality_flag(number_of_scans, number_of_pixels) ; 0 number_of_scans 6000
ubyte quality_flag(number_of_scans, number_of_pixels) ; 1 number_of_pixels 1800
GEO file appears to check out: Then I process to L1B:
Without apparent errors:
Loading default parameters from /Users/daurin/Applications/seadas_8.3.9/ocssw/share/common/msl12_defaults.par
Input file /Volumes/Megalodon/SeaHawk/L1A/SEAHAWK1_HAWKEYE.20230512T213239.L1A.nc is HAWKEYE L1A file.
Loading characteristics for HAWKEYE
Opening sensor information file /Users/daurin/Applications/seadas_8.3.9/ocssw/share/hawkeye/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 412.000 173.272 3.176e-01 2.539e-04 6.042e-19 1.000e+00 0.000e+00 4.840e-03 2.953e-03
[...]
Internal data compression requested at compression level: 4
Opening filter file /Users/daurin/Applications/seadas_8.3.9/ocssw/share/hawkeye/hawkeye_filter.dat
Setting -1 x 5 straylight filter on HILT mask
[...]
Reading Thuillier_F0.dat
Opening Hawkeye L1A file
Hawkeye L1A npix = 1800; nscans = 6000; nbands = 8
Reading Hawkeye calibration LUT
Will skip first 0 and last 64 scans.
Allocated 1819832 bytes in L1 record.
Opening L1B output file: /Volumes/Megalodon/SeaHawk/L1B/SEAHAWK1_HAWKEYE.20230512T213239.L1B.nc
Processing scan 0
Processing scan 100
[...]
Processing scan 5900
Closing hawkeye L1A file
Processing Completed
But the L1B file is unusable for further processing because the Lat/Lon are all = -32767:
First, I process the GEO file:
Code: Select all
geolocate_hawkeye /Volumes/Megalodon/SeaHawk/L1A/SEAHAWK1_HAWKEYE.20230512T213239.L1A.nc /Volumes/Megalodon/SeaHawk/L1A/SEAHAWK1_HAWKEYE.20230512T213239.GEO
geolocate_hawkeye 0.772 (Nov 28 2022 12:23:08)
roll_offset=1.06
time_offset=-3.39
Dimension Name: number_of_scans Dimension Size: 6000
Dimension Name: number_of_pixels Dimension Size: 1800
Dimension Name: quaternion_elements Dimension Size: 4
Dimension Name: vector_elements Dimension Size: 3
sname: scan_time
double scan_time(number_of_scans) ; 0 number_of_scans 6000
[...etc.]
sname: quality_flag
ubyte quality_flag(number_of_scans, number_of_pixels) ; 0 number_of_scans 6000
ubyte quality_flag(number_of_scans, number_of_pixels) ; 1 number_of_pixels 1800
GEO file appears to check out: Then I process to L1B:
Code: Select all
l1bgen_generic --ifile=/Volumes/Megalodon/SeaHawk/L1A/SEAHAWK1_HAWKEYE.20230512T213239.L1A.nc --ofile=/Volumes/Megalodon/SeaHawk/L1B/SEAHAWK1_HAWKEYE.20230512T213239.L1B.nc
Loading default parameters from /Users/daurin/Applications/seadas_8.3.9/ocssw/share/common/msl12_defaults.par
Input file /Volumes/Megalodon/SeaHawk/L1A/SEAHAWK1_HAWKEYE.20230512T213239.L1A.nc is HAWKEYE L1A file.
Loading characteristics for HAWKEYE
Opening sensor information file /Users/daurin/Applications/seadas_8.3.9/ocssw/share/hawkeye/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 412.000 173.272 3.176e-01 2.539e-04 6.042e-19 1.000e+00 0.000e+00 4.840e-03 2.953e-03
[...]
Internal data compression requested at compression level: 4
Opening filter file /Users/daurin/Applications/seadas_8.3.9/ocssw/share/hawkeye/hawkeye_filter.dat
Setting -1 x 5 straylight filter on HILT mask
[...]
Reading Thuillier_F0.dat
Opening Hawkeye L1A file
Hawkeye L1A npix = 1800; nscans = 6000; nbands = 8
Reading Hawkeye calibration LUT
Will skip first 0 and last 64 scans.
Allocated 1819832 bytes in L1 record.
Opening L1B output file: /Volumes/Megalodon/SeaHawk/L1B/SEAHAWK1_HAWKEYE.20230512T213239.L1B.nc
Processing scan 0
Processing scan 100
[...]
Processing scan 5900
Closing hawkeye L1A file
Processing Completed
But the L1B file is unusable for further processing because the Lat/Lon are all = -32767: