This function requires a TeraScan MODIS license.
modis_color [ parameter=value ] [ inputfile outputfile ] modis_color [ parameter=value ] [ inputfile ... directory ]
Parameters are: climatology, met_file, interp_met, delta_x, delta_mod, stray_lit, out_of_band, compute_ndvi, fill_bad.
modis_color implements the SeaWiFS-type ocean color algorithms to derive chlorophyll concentrations and aerosol optical depth (see REFERENCES, Esaias et al, 1998). The algorithm is designed to work with calibrated MODIS ocean color bands (see IMAPP) which are 8 channels in the visible and near-infrared with center frequencies at 411, 442, 487, 530, 547, 665, 746, and 866 nm. The bandwidths of these channels are 15, 10, 10, 10, 10, 10, 10 and 15 nm, respectively.
The function requires both input and output TDF filenames. The input to modis_color is the dataset output by the function get_modis_color.
The most fundamental task of modis_color is to derive water-leaving radiance values from radiance values measured at the sensor. Here radiance is measured in milliWatts * centimeter^-1 * steradian^-1 * micrometer^-1. For details of water-leaving computations, see swcolor.
The derived quantity approximates the radiance that would exit the ocean surface in the absence of the atmosphere when the sun is at its zenith. From these normalized radiance values and the information obtained in performing the atmospheric correction, the following variables are derived and written to the output dataset:Variable Units Description nLw_412 radiance Normalized water-leaving radiance. nLw_443 radiance Normalized water-leaving radiance. nLw_490 radiance Normalized water-leaving radiance. nLw_530 radiance Normalized water-leaving radiance. nLw_550 radiance Normalized water-leaving radiance. La_670 radiance Aerosol radiance contribution. La_865 radiance Aerosol radiance contribution. epsilon none Epsilon value for channel 1. tau_865 none Aerosol optical thickness at 865 nm.
Chlorophyll concentrations are computed using mod_chlor, a function that implements the MODIS Case 1 bio-optical algorithms.
Variable Type Units surface_zonal_wind float meters/second surface_meridional_wind float meters/second surface_pressure float Pa precip_water float kg/m^2 ozone float dobson
Each variable is expected to be three dimensional, with dimensions line, sample and month (the same for each variable), with month being of length 12. The data set is expected to have a valid Earth transform (see etx). Two climatologies are available with TeraScan, one from European Center for Medium-Range Weather Forecasting (ECMWF) analyses, named ecmwfclim.tdf, and one based on COADS data (i.e., ship and buoy reports), named coadsclim.tdf. The latter tends to have more missing areas. If climatology=no, the user must specify the name of a met_file containing real-time meteorological data. The default is yes.
% modis_color MOD021KM.2001255.160317.clr_input MOD021KM.2001255.160317.COLOR climatology : char( 3) ? [yes] met_file : char(255) ? [ecmwfclim.tdf] interp_met : char( 3) ? [yes] delta_x : int ? [8] delta_mod : int ? [48] stray_lit : char (3) ? [no] out_of_band : char (3) ? [no] compute_ndvi : char (3) ? [no] fill_bad : char (3) ? [no] yes Processing:MOD021KM.2001255.160317.clr_input 16:03:17 2001/09/12: Lines: 1020 Samples: 1354
MODIS overview, MODIS processing, IMAPP, get_modis_color, mod_chlor
Real-time met_files must be customer furnished and converted to TeraScan data format. Sources for the required meteorological and ozone data include private companies and the National Weather Service, both of which can provide the data for a fee. These files are in WMO's Gridded Binary (GRIB) format (Stackpole, 1994).
The shell script:
$TSCANROOT/share/scripts/seawifs_ancillary_tdf
can be used to convert the surface meteorology and total ozone from these files into a single TDF dataset for use with modis_color:
% $TSCANROOT/share/scripts/seawifs_ancillary_tdf grib_file ozone_file
The names of the files on the command line need to be specified in the order shown above. The 2-D file output by the script will have the name of the GRIB file specified. modis_color expects to find the real-time met file in the directory $REFDATA/climate.
Note: The script calls the program readgrib to read and extract data from the files. readgrib is a freeware FORTRAN program that you can download via anonymous FTP from ncardata.ucar.edu from the directory libraries/grib. Download the README file first for information on the appropriate file(s) to download for your operating system. Then, once the program file is downloaded, compiled, and linked, rename the program readgrib, put it in your path, and make the script executable.
Esaias et al., 1998: An Overview of MODIS capabilities for Ocean science observations. IEEE Trans. Geosci Remote sensing. Vol. 36, 4 pp 1250-1265.
Stackpole, J. D., 1994: The WMO format for the storage of weather product information and the exchange of weather product messages in gridded binary form. Office Note 388. National Meteorological Center, National Oceanic and Atmospheric Administration.
Last Update: $Date: 2001/12/14 18:54:32 $