[ncl-talk] Attempting to average modis aod for certain points

Herb, Jason jherb at albany.edu
Sun Jan 19 18:03:56 MST 2020


Hello,

I am attempting to have ncl do the averaging of all swaths for a given day for a certain location. The script i have appears to not be averaging the data properly when I look at a given day and manually average the swaths together i get get the correct average of 0.05 but on 1/2/2002 my output file says the average is 0.05 but the swath location values are 0.12, 0.05 and 0.08 which average to 0.08. I have attached a copy of my script and two hdf files. Any suggestions?

Thanks,

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200120/32705b18/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MCD19A2.A2002001.h12v04.006.2018016140659.pscs_000501407024.hdf
Type: application/hdf
Size: 376028 bytes
Desc: MCD19A2.A2002001.h12v04.006.2018016140659.pscs_000501407024.hdf
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200120/32705b18/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MCD19A2.A2002002.h12v04.006.2018016140659.pscs_000501407024.hdf
Type: application/hdf
Size: 309940 bytes
Desc: MCD19A2.A2002002.h12v04.006.2018016140659.pscs_000501407024.hdf
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200120/32705b18/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dailyplottingccny.ncl
Type: application/octet-stream
Size: 16000 bytes
Desc: dailyplottingccny.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200120/32705b18/attachment-0001.obj>


More information about the ncl-talk mailing list