Bin numbers to lat lon
Posted: Tue Mar 23, 2021 4:35 pm America/New_York
Hi ocean colour folks,
I'm making daily composites of chlor_a at 1km resolution by running l2bin on MODIS-Aqua level-2 files. Then I'm using R to open the binned files and analyze further.
1) I can't convince l3bindump to do my bidding so far - it will produce an empty text file, though mapping the file I see it has data. I haven't found examples to see what I'm doing wrong. E.g.
l3bindump ifile=A2003151.L3b_DAY_CHLOR_A.nc ofile=test.txt oformat=txt verbose=1 l3bprod=chlor_a
Output file contents:
chlor_a chlor_a
bin centerlat centerlon north south west east n N sum sum_squared weight mean stdev
------- --------- ---------- --------- --------- ---------- ---------- ---- --- --------------- --------------- --------------- ---------- ----------
! Input file: A2003151.L3b_DAY_CHLOR_A.nc
! Number of Rows: 17280
2) Is there anything wrong with making a look-up table to use for matching bin number to lat lon? This is easier for me than using l3bindump. Or does this already exist and I can't find it?
Thanks, cheers,
Andrea
I'm making daily composites of chlor_a at 1km resolution by running l2bin on MODIS-Aqua level-2 files. Then I'm using R to open the binned files and analyze further.
1) I can't convince l3bindump to do my bidding so far - it will produce an empty text file, though mapping the file I see it has data. I haven't found examples to see what I'm doing wrong. E.g.
l3bindump ifile=A2003151.L3b_DAY_CHLOR_A.nc ofile=test.txt oformat=txt verbose=1 l3bprod=chlor_a
Output file contents:
chlor_a chlor_a
bin centerlat centerlon north south west east n N sum sum_squared weight mean stdev
------- --------- ---------- --------- --------- ---------- ---------- ---- --- --------------- --------------- --------------- ---------- ----------
! Input file: A2003151.L3b_DAY_CHLOR_A.nc
! Number of Rows: 17280
2) Is there anything wrong with making a look-up table to use for matching bin number to lat lon? This is easier for me than using l3bindump. Or does this already exist and I can't find it?
Thanks, cheers,
Andrea