王国杰的博客分享 http://blog.sciencenet.cn/u/gwangcc Be Silly

博文

Modis LAI for Africa

已有 2786 次阅读 2013-12-13 14:38 |个人分类:bakup|系统分类:科研笔记

tar -xvf global_30s_2000.tar
tar -xvf global_30s_2001.tar
tar -xvf global_30s_2002.tar
tar -xvf global_30s_2003.tar
tar -xvf global_30s_2004.tar
tar -xvf global_30s_2005.tar
tar -xvf global_30s_2006.tar
tar -xvf global_30s_2007.tar
tar -xvf global_30s_2008.tar
tar -xvf global_30s_2009.tar
bunzip2 *.bz2

for year in 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
do
cdo setdate,${year}-01-01  global_30s_${year}_001.nc global_1km_${year}0101.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0101.nc africa_${year}0101.nc
cdo setdate,${year}-01-09  global_30s_${year}_009.nc global_1km_${year}0109.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0109.nc africa_${year}0109.nc
cdo setdate,${year}-01-17  global_30s_${year}_017.nc global_1km_${year}0117.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0117.nc africa_${year}0117.nc  
cdo setdate,${year}-01-25  global_30s_${year}_025.nc global_1km_${year}0125.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0125.nc africa_${year}0125.nc
cdo setdate,${year}-02-02  global_30s_${year}_033.nc global_1km_${year}0202.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0202.nc africa_${year}0202.nc
cdo setdate,${year}-02-10  global_30s_${year}_041.nc global_1km_${year}0210.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0210.nc africa_${year}0210.nc
cdo setdate,${year}-02-18  global_30s_${year}_049.nc global_1km_${year}0218.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0218.nc africa_${year}0218.nc
cdo setdate,${year}-02-26  global_30s_${year}_057.nc global_1km_${year}0226.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0226.nc africa_${year}0226.nc
cdo setdate,${year}-03-06  global_30s_${year}_065.nc global_1km_${year}0306.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0306.nc africa_${year}0306.nc
cdo setdate,${year}-03-14  global_30s_${year}_073.nc global_1km_${year}0314.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0314.nc africa_${year}0314.nc
cdo setdate,${year}-03-22  global_30s_${year}_081.nc global_1km_${year}0322.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0322.nc africa_${year}0322.nc  
cdo setdate,${year}-03-30  global_30s_${year}_089.nc global_1km_${year}0330.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0330.nc africa_${year}0330.nc
cdo setdate,${year}-04-07  global_30s_${year}_097.nc global_1km_${year}0407.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0407.nc africa_${year}0407.nc
cdo setdate,${year}-04-15  global_30s_${year}_105.nc global_1km_${year}0415.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0415.nc africa_${year}0415.nc
cdo setdate,${year}-04-23  global_30s_${year}_113.nc global_1km_${year}0423.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0423.nc africa_${year}0423.nc
cdo setdate,${year}-05-01  global_30s_${year}_121.nc global_1km_${year}0501.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0501.nc africa_${year}0501.nc
cdo setdate,${year}-05-09  global_30s_${year}_129.nc global_1km_${year}0509.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0509.nc africa_${year}0509.nc
cdo setdate,${year}-05-17  global_30s_${year}_137.nc global_1km_${year}0517.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0517.nc africa_${year}0517.nc
cdo setdate,${year}-05-25  global_30s_${year}_145.nc global_1km_${year}0525.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0525.nc africa_${year}0525.nc
cdo setdate,${year}-06-02  global_30s_${year}_153.nc global_1km_${year}0602.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0602.nc africa_${year}0602.nc
cdo setdate,${year}-06-10  global_30s_${year}_161.nc global_1km_${year}0610.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0610.nc africa_${year}0610.nc
cdo setdate,${year}-06-18  global_30s_${year}_169.nc global_1km_${year}0618.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0618.nc africa_${year}0618.nc
cdo setdate,${year}-06-26  global_30s_${year}_177.nc global_1km_${year}0626.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0626.nc africa_${year}0626.nc
cdo setdate,${year}-07-04  global_30s_${year}_185.nc global_1km_${year}0704.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0704.nc africa_${year}0704.nc
cdo setdate,${year}-07-12  global_30s_${year}_193.nc global_1km_${year}0712.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0712.nc africa_${year}0712.nc
cdo setdate,${year}-07-20  global_30s_${year}_201.nc global_1km_${year}0720.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0720.nc africa_${year}0720.nc  
cdo setdate,${year}-07-28  global_30s_${year}_209.nc global_1km_${year}0728.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0728.nc africa_${year}0728.nc
cdo setdate,${year}-08-06  global_30s_${year}_217.nc global_1km_${year}0806.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0806.nc africa_${year}0806.nc
cdo setdate,${year}-08-14  global_30s_${year}_225.nc global_1km_${year}0814.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0814.nc africa_${year}0814.nc  
cdo setdate,${year}-08-22  global_30s_${year}_233.nc global_1km_${year}0822.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0822.nc africa_${year}0822.nc
cdo setdate,${year}-08-30  global_30s_${year}_241.nc global_1km_${year}0830.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0830.nc africa_${year}0830.nc
cdo setdate,${year}-09-07  global_30s_${year}_249.nc global_1km_${year}0907.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0907.nc africa_${year}0907.nc
cdo setdate,${year}-09-15  global_30s_${year}_257.nc global_1km_${year}0915.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0915.nc africa_${year}0915.nc
cdo setdate,${year}-09-23  global_30s_${year}_265.nc global_1km_${year}0923.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}0923.nc africa_${year}0923.nc
cdo setdate,${year}-10-01  global_30s_${year}_273.nc global_1km_${year}1001.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1001.nc africa_${year}1001.nc
cdo setdate,${year}-10-09  global_30s_${year}_281.nc global_1km_${year}1009.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1009.nc africa_${year}1009.nc
cdo setdate,${year}-10-17  global_30s_${year}_289.nc global_1km_${year}1017.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1017.nc africa_${year}1017.nc
cdo setdate,${year}-10-25  global_30s_${year}_297.nc global_1km_${year}1025.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1025.nc africa_${year}1025.nc
cdo setdate,${year}-11-02  global_30s_${year}_305.nc global_1km_${year}1102.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1102.nc africa_${year}1102.nc  
cdo setdate,${year}-11-10  global_30s_${year}_313.nc global_1km_${year}1110.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1110.nc africa_${year}1110.nc
cdo setdate,${year}-11-18  global_30s_${year}_321.nc global_1km_${year}1118.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1118.nc africa_${year}1118.nc
cdo setdate,${year}-11-26  global_30s_${year}_329.nc global_1km_${year}1126.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1126.nc africa_${year}1126.nc
cdo setdate,${year}-12-04  global_30s_${year}_337.nc global_1km_${year}1204.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1204.nc africa_${year}1204.nc  
cdo setdate,${year}-12-12  global_30s_${year}_345.nc global_1km_${year}1212.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1212.nc africa_${year}1212.nc  
cdo setdate,${year}-12-20  global_30s_${year}_353.nc global_1km_${year}1220.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1220.nc africa_${year}1220.nc
cdo setdate,${year}-12-28  global_30s_${year}_361.nc global_1km_${year}1228.nc
cdo sellonlatbox,-20,60,-40,40 global_1km_${year}1228.nc africa_${year}1228.nc
done

rm *30s*
cdo mergetime africa* africa_20022009.nc




http://blog.sciencenet.cn/blog-569118-749494.html

上一篇:remapping gap-filled 30-year ECV satellite soil moisture
下一篇:submit modis LAI job on server

0

该博文允许注册用户评论 请点击登录 评论 (1 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2021-3-4 11:26

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部