Arthi & Suresh,
Here is one way to compute the sorts of statistics you are looking for.
This approach assumes familiarity with the
Perl scripting language and
a certain facility with image processing. For this example, I generated
an Indian Ocean mask using
GMT (and
GhostScript) to make a global
ocean image.
pscoast -Rd -JQ0/43.2 -P -X0 -Y0 -S0 \
| gs -sDEVICE=pgmraw -sOutputFile=- -q -r100 -g4320x2160 - > global_ocean.pgm
I then blanked out everything but the Indian Ocean using the
Gimpto produce
indian_ocean.pgm .
The attached perl script computes chlorophyll statistics for the Indian
Ocean using the Aqua-MODIS, January 2011 monthly chlorophyll SMI
product,
A20110012011031.L3m_MO_CHL_chlor_a_9km . It uses the
hdp program to read the SMI (HDF) file.
When I run the attached script, I get the following output.
min=0.0016
max=69.2769
median=0.1583
mean=0.2135
st dev=0.4194
Regards,
Norman