average modis files

From: Luo, Chao <chao.luo_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 26 2013 - 13:42:46 MDT

Hi,

I am working on modis files averaging from 5 minutes to daily files. There are 560 files in one month, the part2 and part3 in file name are hard to treat (part2 is time). And I want to average time from 11:00 to 22:00. Is there any easy way to do it instead of to hand input data file names? Following is file name sample. Any suggestions and help are very appreciated!

cl

part1 part2 part3
MYD06_L2.A2012061.0725.051.2012061201159.hdf
MYD06_L2.A2012061.0730.051.2012061201222.hdf
MYD06_L2.A2012061.0900.051.2012061201129.hdf
MYD06_L2.A2012061.0905.051.2012061201216.hdf
MYD06_L2.A2012061.0910.051.2012061201107.hdf
MYD06_L2.A2012061.1040.051.2012062180817.hdf
MYD06_L2.A2012061.1045.051.2012062180807.hdf
MYD06_L2.A2012061.1050.051.2012062175617.hdf
MYD06_L2.A2012061.1655.051.2012062180644.hdf
MYD06_L2.A2012061.1825.051.2012062182142.hdf
MYD06_L2.A2012061.1830.051.2012062182358.hdf
MYD06_L2.A2012061.1835.051.2012062180719.hdf
MYD06_L2.A2012061.2005.051.2012062180628.hdf
MYD06_L2.A2012061.2010.051.2012062180924.hdf
MYD06_L2.A2012061.2140.051.2012062181406.hdf
MYD06_L2.A2012061.2145.051.2012062181604.hdf
MYD06_L2.A2012061.2150.051.2012062181551.hdf
MYD06_L2.A2012062.0625.051.2012062223608.hdf
MYD06_L2.A2012062.0630.051.2012062223535.hdf
MYD06_L2.A2012062.0635.051.2012062223817.hdf
MYD06_L2.A2012062.0805.051.2012062223618.hdf
MYD06_L2.A2012062.0810.051.2012062223602.hdf

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 26 13:42:58 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 01 2013 - 14:41:43 MDT