12.07.2015 Views

MODIS Collection 5 Active Fire Product User's Guide Version ... - FAO

MODIS Collection 5 Active Fire Product User's Guide Version ... - FAO

MODIS Collection 5 Active Fire Product User's Guide Version ... - FAO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Inverse MappingHere we are given the row (i) and column (j) in <strong>MODIS</strong> tile H, V . First compute the position ofthe center of the grid cell on the global sinusoidal grid:x = (j + 0.5)w + HT + x min (7)y = y max − (i + 0.5)w − V T (8)Next compute the latitude φ and longitude λ at the center of the grid cell (in radians):Applicability to 250-m and 500-m <strong>MODIS</strong> <strong>Product</strong>sφ = y (9)Rxλ =R cos φ . (10)With the following minor changes the above formulas are also applicable to the higher resolution250-m and 500-m <strong>MODIS</strong> tiled sinusoidal products.250-m grid: Set w = T/4800 = 231.65635826 m, the actual size of a “250-m” <strong>MODIS</strong> sinusoidalgrid cell. For 250-m grid cells 0 ≤ i ≤ 4799 and 0 ≤ j ≤ 4799.500-m grid: Set w = T/2400 = 463.31271653 m, the actual size of a “500-m” <strong>MODIS</strong> sinusoidalgrid cell. For 500-m grid cells 0 ≤ i ≤ 2399 and 0 ≤ j ≤ 2399.4.2.7 Example CodeExample 2: MATLAB code to read the Level 3 <strong>MODIS</strong> daily fire mask, using the MATLAB routinehdfread. This is probably the easiest way to read individual HDF SDSs in MATLAB.mod14a1_file = ’MOD14A1.A2008281.h31v10.005.2008292070548.hdf’% read entire "<strong>Fire</strong>Mask" SDS in one shotfire_mask = hdfread(mod14a1_file, ’<strong>Fire</strong>Mask’);% display fire mask for the first day in MOD14A1/MYD14A1% note how image is transposed so that North appears on topimagesc(fire_mask(:,:,1)’);25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!