[xpan@oceanbio3 bin]$ chmod u+x modis_L12_script [xpan@oceanbio3 bin]$ ./modis_L12_script Level 1A input filename: A2005147172500.L1A_LAC.x.hdf Output geolocation file: A2005147172500.GEO Satellite: aqua Year: 2005 Day: 147 Hour: 17 Minute: 25 *Terrain Correction Enabled* Determining required definitive attitude and ephemeris files... /data/seadas5.2/scripts/modis_definitive_atteph.csh aqua 2005147172500 2005147173000 Checking local hard disk for required definitive attitude and ephemeris files... Present on hard disk: PM1ATTNR.P2005147.1600.002 Present on hard disk: PM1EPHND.P2005147.1200.001 All required definitive attitude and ephemeris files found on your hard disk. att_file1: /home/xpan/.seadas/atteph/2005/147/PM1ATTNR.P2005147.1600.002 att_file2: NULL eph_file1: /home/xpan/.seadas/atteph/2005/147/PM1EPHND.P2005147.1200.001 eph_file2: NULL Wed May 21 13:41:05 EDT 2008 Creating MODIS geolocation file... /data/seadas5.2/bin/geogen_modis GEO version: 5.0.6 built on Mar 31 2008 (13:50:29) scan: 0 out of 132 Wed May 21 13:41:05 2008 scan: 10 out of 132 Wed May 21 13:41:07 2008 scan: 20 out of 132 Wed May 21 13:41:08 2008 scan: 30 out of 132 Wed May 21 13:41:09 2008 scan: 40 out of 132 Wed May 21 13:41:10 2008 scan: 50 out of 132 Wed May 21 13:41:12 2008 scan: 60 out of 132 Wed May 21 13:41:13 2008 scan: 70 out of 132 Wed May 21 13:41:14 2008 scan: 80 out of 132 Wed May 21 13:41:15 2008 scan: 90 out of 132 Wed May 21 13:41:17 2008 scan: 100 out of 132 Wed May 21 13:41:18 2008 scan: 110 out of 132 Wed May 21 13:41:20 2008 scan: 120 out of 132 Wed May 21 13:41:21 2008 scan: 130 out of 132 Wed May 21 13:41:23 2008 geogen_modis exit status: 0 Wed May 21 13:41:23 EDT 2008 Running validation test on geolocation file... /data/seadas5.2/scripts/modis_geocheck.csh ./A2005147172500.GEO 95 Number of pixels with missing geolocation: 0 Percent of geolocated pixels (rounded): 100 Validation test passed for geolocation file A2005147172500.GEO. L1A filename: A2005147172500.L1A_LAC.x.hdf GEO filename: A2005147172500.GEO L1B 1KM filename: A2005147172500.L1B L1B HKM filename: A2005147172500.L1B_HKM L1B QKM filename: A2005147172500.L1B_QKM Reflective LUT file: /data/seadas5.2/data/modisa/cal/MYD02_Reflective_LUTs.V5.0.35.1a.hdf Emissive LUT file: /data/seadas5.2/data/modisa/cal/MYD02_Emissive_LUTs.V5.0.35.1a.hdf QA LUT file: /data/seadas5.2/data/modisa/cal/MYD02_QA_LUTs.V5.0.35.1a.hdf Satellite: aqua Year: 2005 Day: 147 Hour: 17 Minute: 25 Wed May 21 13:41:26 EDT 2008 Processing MODIS L1A file to L1B... /data/seadas5.2/bin/l1bgen_modisa MYD_PR02 version 5.0.7 built on Mar 31 2008, at 13:50:20 scan: 0 out of 132 Wed May 21 13:41:29 2008 scan: 10 out of 132 Wed May 21 13:41:30 2008 scan: 20 out of 132 Wed May 21 13:41:31 2008 scan: 30 out of 132 Wed May 21 13:41:32 2008 scan: 40 out of 132 Wed May 21 13:41:33 2008 scan: 50 out of 132 Wed May 21 13:41:38 2008 scan: 60 out of 132 Wed May 21 13:41:39 2008 scan: 70 out of 132 Wed May 21 13:41:40 2008 scan: 80 out of 132 Wed May 21 13:41:41 2008 scan: 90 out of 132 Wed May 21 13:41:41 2008 scan: 100 out of 132 Wed May 21 13:41:42 2008 scan: 110 out of 132 Wed May 21 13:41:43 2008 scan: 120 out of 132 Wed May 21 13:41:44 2008 scan: 130 out of 132 Wed May 21 13:41:47 2008 l1bgen_modisa exit status: 0 Wed May 21 13:41:47 EDT 2008 MODIS L1B processing complete. Determining pass start and end times.. Input file : A2005147172500.L1B Start time : 2005147172510 End time : 2005147173010 *All required files listed in LUT* All optimal MET files found on hard disk: MET1: S200514712_NCEP.MET (optimal) MET2: S200514718_NCEP.MET (optimal) MET3: S200514718_NCEP.MET (optimal) Determining pass start and end times.. Input file : A2005147172500.L1B Start time : 2005147172510 End time : 2005147173010 Parsing OZONE LUT file /data/seadas5.2/var/metoz/OZONE_EPTOMS_LUT.txt *All required files listed in LUT* All optimal OZONE (EPTOMS) files found on hard disk: OZONE1: S200514712_EPTOMS.OZONE (optimal) OZONE2: S200514812_EPTOMS.OZONE (optimal) OZONE3: S200514812_EPTOMS.OZONE (optimal) Determining pass start time.. Input file : A2005147172500.L1B Start time : 2005147172510 - Valid OISST file detected in OISST LUT file - A valid OISST file was found on hard disk: oisst.20050525 Processing A2005147172500.L1B to Level 2.. Input file A2005147172500.L1B is MODIS Aqua Level-1B HDF-EOS product. Loading default parameters for MODISA from /data/seadas5.2/data/modisa/msl12_defaults.par Loading user parameters for MODISA Opening filter file /data/seadas5.2/data/modisa/msl12_filter.dat Setting 7 x 5 straylight filter on HILT mask Filter Kernel 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Minimum fill set to 1 pixels Setting 7 x 5 straylight filter on CLDICE mask Filter Kernel 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Minimum fill set to 1 pixels Loading characteristics for MODISA Opening sensor information file /data/seadas5.2/data/modisa/msl12_sensor_info.dat Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw 0 412 172.718 3.109e-01 2.440e-03 5.732e-19 1.000e+00 1.000e+00 2.027e-02 3.242e-03 1 443 187.688 2.375e-01 3.830e-03 4.916e-19 1.000e+00 1.000e+00 1.110e-02 2.454e-03 2 488 194.973 1.596e-01 2.250e-02 2.802e-19 1.000e+00 1.000e+00 1.677e-02 1.622e-03 3 531 185.820 1.131e-01 6.630e-02 1.437e-19 1.000e+00 1.000e+00 4.496e-02 1.132e-03 4 551 186.594 9.940e-02 8.360e-02 1.124e-19 1.000e+00 1.000e+00 5.492e-02 9.890e-04 5 667 152.163 4.460e-02 4.850e-02 8.000e-21 1.000e+00 8.892e-01 4.920e-01 4.262e-04 6 678 148.097 4.160e-02 3.950e-02 8.500e-21 1.000e+00 8.892e-01 5.118e-01 3.968e-04 7 748 128.123 2.860e-02 1.190e-02 1.500e-21 1.000e+00 7.600e-01 2.801e+00 2.671e-04 8 869 95.849 1.550e-02 2.630e-03 0.000e+00 1.000e+00 6.449e-01 4.727e+00 1.404e-04 Bnd Lam 9 3750 10 3959 11 4050 12 6715 13 7325 14 8550 15 11000 16 12000 Calibration to be applied: Calfile: Vicarious Gain[1]=0.971000, Offset[1]=0.000000 Vicarious Gain[2]=0.984800, Offset[2]=0.000000 Vicarious Gain[3]=0.979500, Offset[3]=0.000000 Vicarious Gain[4]=0.987000, Offset[4]=0.000000 Vicarious Gain[5]=0.985000, Offset[5]=0.000000 Vicarious Gain[6]=0.979700, Offset[6]=0.000000 Vicarious Gain[7]=0.977600, Offset[7]=0.000000 Vicarious Gain[8]=0.985500, Offset[8]=0.000000 Vicarious Gain[9]=1.000000, Offset[9]=0.000000 Input file A2005147172500.L1B is MODIS Aqua Level-1B HDF-EOS product. File contains rescaled RGBN data. File was generated from L1A extract of size 848 x 1320 Pixels 495 - 1342 Lines 371 - 1690 Opening: A2005147172500.L2 The following products will be included in A2005147172500.L2. 0 chlor_a 1 chl_gsm01 2 nLw_412 3 nLw_443 4 nLw_488 5 nLw_531 6 nLw_551 7 nLw_667 8 nLw_678 9 nLw_748 10 nLw_869 11 Rrs_412 12 Rrs_443 13 Rrs_488 14 Rrs_531 15 Rrs_551 16 Rrs_667 17 Rrs_678 18 Rrs_748 19 Rrs_869 20 solz 21 senz 22 K_490 23 Kd_488_lee 24 bbp_443_gsm01 25 aph_443_gsm01 26 adg_443_gsm01 27 bbp_443_qaa 28 adg_443_qaa 29 aph_443_qaa 30 par 31 taua_869 32 l2_flags Begin MSl12 Version 5.8.3 Processing Sensor is MODISA Sensor ID is 6 Sensor has 9 reflective bands Sensor has 8 emmissive bands Number of along-track detectors per band is 10 Number of input pixels per scan is 848 Processing pixels 1 to 848 by 1 Processing scans 1 to 1320 by 1 Ocean processing enabled Land processing disabled Atmospheric correction enabled Begin MSl12 processing at 2008142134204000 Radiance to brightness temperature loaded from /data/seadas5.2/data/modisa/cal/bt_modisa.hdf Loading land mask file from /data/seadas5.2/data/common/landmask.dat Loading bathymetry mask file from /data/seadas5.2/data/common/watermask.dat Loading ice mask file from /data/seadas5.2/data/common/ice_mask.hdf Reading Thuillier_F0.dat Loading OI Reynolds SST reference from /home/xpan/.seadas/oisst/2005/oisst.20050525 file start date (y/m/d): 2005 / 5 / 22 file end date (y/m/d): 2005 / 5 / 28 days composited: 7 file version: 1112100345 Opening meteorological files. met1 = /home/xpan/.seadas/metoz/2005/147/S200514712_NCEP.MET met2 = /home/xpan/.seadas/metoz/2005/147/S200514718_NCEP.MET met3 = /home/xpan/.seadas/metoz/2005/147/S200514718_NCEP.MET ozone1 = /home/xpan/.seadas/metoz/2005/147/S200514712_EPTOMS.OZONE ozone2 = /home/xpan/.seadas/metoz/2005/148/S200514812_EPTOMS.OZONE ozone3 = /home/xpan/.seadas/metoz/2005/148/S200514812_EPTOMS.OZONE no2 = /data/seadas5.2/data/common/no2_climatology.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_412_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_443_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_488_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_531_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_551_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_667_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_678_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_748_iqu.hdf Loading Rayleigh coefficients from /data/seadas5.2/data/modisa/rayleigh/rayleigh_modisa_869_iqu.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_412.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_443.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_488.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_531.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_551.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_667.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_678.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_748.hdf Loading polarization file /data/seadas5.2/data/modisa/cal/polcor_modisa_869.hdf Processing scan # 0 (1 of 1320) after 0 seconds Loading SSES table for sst from /data/seadas5.2/data/modisa/cal/sst_sses_modisa.hdf Loading SSES table for sst4 from /data/seadas5.2/data/modisa/cal/sst4_sses_modisa.hdf Loading SST4 coefficients from /data/seadas5.2/data/modisa/cal/sst4_modisa.dat: 2005121 2005151 0.677 1.026 0.469 1.470 Loading SST coefficients from /data/seadas5.2/data/modisa/cal/sst_modisa.dat: 2005121 2005151 1.216 0.942 0.175 1.759 2005121 2005151 2.405 0.909 0.125 1.163 Aerosol selection bands 748 and 869 NIR correction enabled. Using Gordon & Wang aerosol model selection and NIR correction with up to 10 iterations Using bands at 748.0 and 869.0 nm for model selection Extrapolating from 869.0 nm Loading o99 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_o99.hdf Loading m50 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_m50.hdf Loading m70 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_m70.hdf Loading m90 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_m90.hdf Loading m99 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_m99.hdf Loading c50 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_c50.hdf Loading c70 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_c70.hdf Loading c90 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_c90.hdf Loading c99 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_c99.hdf Loading t50 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_t50.hdf Loading t90 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_t90.hdf Loading t99 aerosol models from /data/seadas5.2/data/modisa/aerosol/aerosol_modisa_t99.hdf M. Wang model cross-over correction enabled. Loading water-vapor correction coefficients. Applying ocean BRDF including: Reflection/refraction for upwelling radiance. Reflection/refraction for downwelling radiance. Morel f/Q Loading Morel f/Q table from file /data/seadas5.2/data/common/morel_fq.dat IOP-based Kd_lee product requires iop model selection (iop_opt). Using default model. QAA processing for 6 bands QAA a(ref) MODIS coefs -1.192, -1.230, -0.362 QAA using synthetic derived rrs@640 Loading climatology file /data/seadas5.2/data/common/alpha510_climatology.hdf Loading climatology file /data/seadas5.2/data/common/taua865_climatology.hdf Processing scan # 50 (51 of 1320) after 7 seconds Processing scan # 100 (101 of 1320) after 14 seconds Processing scan # 150 (151 of 1320) after 22 seconds Processing scan # 200 (201 of 1320) after 30 seconds Processing scan # 250 (251 of 1320) after 38 seconds Processing scan # 300 (301 of 1320) after 48 seconds Processing scan # 350 (351 of 1320) after 56 seconds Processing scan # 400 (401 of 1320) after 63 seconds Processing scan # 450 (451 of 1320) after 70 seconds Processing scan # 500 (501 of 1320) after 76 seconds Processing scan # 550 (551 of 1320) after 83 seconds Processing scan # 600 (601 of 1320) after 90 seconds Processing scan # 650 (651 of 1320) after 97 seconds Processing scan # 700 (701 of 1320) after 102 seconds Processing scan # 750 (751 of 1320) after 107 seconds Processing scan # 800 (801 of 1320) after 110 seconds Processing scan # 850 (851 of 1320) after 112 seconds Processing scan # 900 (901 of 1320) after 113 seconds Processing scan # 950 (951 of 1320) after 115 seconds Processing scan # 1000 (1001 of 1320) after 116 seconds Processing scan # 1050 (1051 of 1320) after 117 seconds Processing scan # 1100 (1101 of 1320) after 117 seconds Processing scan # 1150 (1151 of 1320) after 118 seconds Processing scan # 1200 (1201 of 1320) after 119 seconds Processing scan # 1250 (1251 of 1320) after 120 seconds Processing scan # 1300 (1301 of 1320) after 121 seconds Percentage of pixels flagged: Flag # 1: ATMFAIL 4 0.0004 Flag # 2: LAND 348856 31.1657 Flag # 3: SPARE 0 0.0000 Flag # 4: HIGLINT 550789 49.2057 Flag # 5: HILT 879115 78.5373 Flag # 6: HISATZEN 44880 4.0094 Flag # 7: COASTZ 47384 4.2331 Flag # 8: NEGLW 3334 0.2978 Flag # 9: STRAYLIGHT 167325 14.9483 Flag #10: CLDICE 466979 41.7184 Flag #11: COCCOLITH 1189 0.1062 Flag #12: TURBIDW 6912 0.6175 Flag #13: HISOLZEN 0 0.0000 Flag #14: HITAU 48315 4.3163 Flag #15: LOWLW 1178 0.1052 Flag #16: CHLFAIL 907268 81.0524 Flag #17: NAVWARN 0 0.0000 Flag #18: ABSAER 22437 2.0044 Flag #19: SPARE 0 0.0000 Flag #20: MAXAERITER 257 0.0230 Flag #21: MODGLINT 722039 64.5046 Flag #22: CHLWARN 7697 0.6876 Flag #23: ATMWARN 1998 0.1785 Flag #24: DARKPIXEL 0 0.0000 Flag #25: SEAICE 25862 2.3104 Flag #26: NAVFAIL 0 0.0000 Flag #27: FILTER 0 0.0000 Flag #28: SSTWARN 586886 52.4305 Flag #29: SSTFAIL 348856 31.1657 Flag #30: HIPOL 10291 0.9194 Flag #31: PRODFAIL 912453 81.5156 Flag #32: OCEAN 303525 27.1159 End MSl12 processing at 2008142134405000 Processing Rate = 10.909091 scans/sec Processing Completed