| Reflected Solar Bands | Emissive Bands | ||
|---|---|---|---|
| Aggregrated 250 m | Aggregrated 500 m | 1 km | 1 km |
| Band 1 (620-670 nm) | Band 3 (459-479 nm) | Band 8 (405-420 nm) | Band 20 (3.660-3.840 µm) |
| Band 2 (841-876 nm) | Band 4 (545-565 nm) | Band 9 (438-448 nm) | Band 21 (3.929-3.989 µm) |
| Band 5 (1230-1250 nm) | Band 10 (483-493 nm) | Band 22 (3.939-3.989 µm) | |
| Band 6 (1628-1652 nm) | Band 11 (526-536 nm) | Band 23 (4.020-4.080 µm) | |
| Band 7 (2105-2155 nm) | Band 12 (546-556 nm) | Band 24 (4.433-4.498 µm) | |
| Band 13L (662-672 nm) | Band 25 (4.482-4.549 µm) | ||
| Band 13H (662-672 nm) | Band 27 (6.535-6.895 µm) | ||
| Band 14L (673-683 nm) | Band 28 (7.175-7.475 µm) | ||
| Band 14H (673-683 nm) | Band 29 (8.400-8.700 µm) | ||
| Band 15 (743-753 nm) | Band 30 (9.580-9.880 µm) | ||
| Band 16 (862-877 nm) | Band 31 (10.780-11.280 µm) | ||
| Band 17 (890-920 nm) | Band 32 (11.770-12.270 µm) | ||
| Band 18 (931-941 nm) | Band 33 (13.185-13.485 µm) | ||
| Band 19 (915-965 nm) | Band 34 (13.485-13.785 µm) | ||
| Band 26 (1.360-1.390 µm) | Band 35 (13.785-14.085 µm) | ||
| Band 36 (14.085-14.385 µm) | |||
| FieldArr[4]: EV_250_Aggr1km_RefSB dims: 1354x2030x2 # of bands: 2 |
FieldArr[7] EV_500_Aggr1km_RefSB dims: 1354x2030x5 # of bands: 5 |
FieldArr[0] EV_1KM_RefSB dims: 1354x2030x15 # of bands: 15 |
FieldArr[2] EV_1KM_Emissive dims: 1354x2030x16 # of bands: 16 |
; first read in lat/lons
; open hdf-file (geolocation data from separate MOD03-file or datafile itself...)
FileID = EOS_SW_OPEN(geofile, /read)
NSwath = EOS_SW_INQSWATH(geofile, SwathList )
; attach object
SwathID = EOS_SW_ATTACH( FileID, SwathList )
; retrieve lat/lon
NGeo = EOS_SW_INQGeoFields( SwathID, GeoList, rank, Geotype )
GeoArr = STRSPLIT( GeoList, ',', /Extract )
; double check that geoarr(0) is latitude
if ((geoarr(0) ne 'Latitude') or (geoarr(1) ne 'Longitude')) then begin
print, '** ALERT ** Latitude/Longitude Mixup'
print, 'Latitude = ' + geoarr(0) + '; Longitude = '+geoarr(1)
endif
LonResult = EOS_SW_ReadField( SwathID, GeoArr(1), LonBuf )
LatResult = EOS_SW_ReadField( SwathID, GeoArr(0), LatBuf )
; check for bad lat/lon info
if ((min(lonbuf) lt -500) or (min(latbuf) lt -500)) then begin
print, 'Warning: Bad lines in Longitude/Latitude Buffer'
endif
; detach/close hdf-file
status = EOS_SW_Detach( SwathID )
status = EOS_SW_Close( FileID )
; Open Datafile
FileID = EOS_SW_OPEN(datafile, /read)
NSwath = EOS_SW_INQSWATH(datafile, SwathList )
SwathID = EOS_SW_ATTACH( FileID, SwathList )
; Retrieve data field information
NField = EOS_SW_INQDataFields( SwathID, FieldList, DataRank, DataType )
FieldArr = STRSPLIT( FieldList, ',', /Extract )
; read data
;FieldUsed = FieldArr(0)
FieldUsed = FieldArr(2)
print, 'Retrieving: ' + fieldused
InfoResult = EOS_SW_FieldInfo( SwathID, FieldUsed, Rank, DimsR, NType, DList )
ReadResult = EOS_SW_ReadField( SwathID, FieldUsed, RefBuf )
print, 'Got it!'
; closing datafile
status = EOS_SW_Detach( SwathID )
status = EOS_SW_Close( FileID )
FieldArr:
0 EV_1KM_RefSB
1 EV_1KM_RefSB_Uncert_Indexes
2 EV_1KM_Emissive
3 EV_1KM_Emissive_Uncert_Indexes
4 EV_250_Aggr1km_RefSB
5 EV_250_Aggr1km_RefSB_Uncert_Indexes
6 EV_250_Aggr1km_RefSB_Samples_Used
7 EV_500_Aggr1km_RefSB
8 EV_500_Aggr1km_RefSB_Uncert_Indexes
9 EV_500_Aggr1km_RefSB_Samples_Used
10 Height
11 SensorZenith
12 SensorAzimuth
13 Range
14 SolarZenith
15 SolarAzimuth
16 gflags
17 Band_250M
18 Band_500M
19 Band_1KM_RefSB
20 Band_1KM_Emissive
21 EV_Band26
22 EV_Band26_Uncert_Indexes