立即注册 登录
气象家园 返回首页

山色in的个人空间 https://bbs.06climate.com/?134279 [收藏] [复制] [分享] [RSS]

日志

提取变量 编写成一个nc文档

已有 97 次阅读2023-5-23 23:42 | NCL

begin
; f1=addfile("evspsbl_Amon_E3SM-1-1-ECA_historical_r1i1p1f1_gr_197001-197912.nc","r")
; f2=addfile("evspsbl_Amon_E3SM-1-1-ECA_historical_r1i1p1f1_gr_198001-198912.nc","r")
; f3=addfile("evspsbl_Amon_E3SM-1-1-ECA_historical_r1i1p1f1_gr_199001-199912.nc","r")
; f4=addfile("evspsbl_Amon_E3SM-1-1-ECA_historical_r1i1p1f1_gr_200001-200912.nc","r")
; f5=addfile("evspsbl_Amon_E3SM-1-1-ECA_historical_r1i1p1f1_gr_201001-201412.nc","r")

; evp1=f1->evspsbl(108::,{24:43},{73:107})
; evp2=f2->evspsbl(:,{24:43},{73:107})
; evp3=f3->evspsbl(:,{24:43},{73:107})
; evp4=f4->evspsbl(:,{24:43},{73:107})
; evp5=f5->evspsbl(:,{24:43},{73:107})
; fout=addfile("evspsbl_E3SM-1-1-ECA_historical_197901-201412.nc","c")
; filedimdef (fout, "time", -1, True)
; e1=array_append_record(evp1,evp2,0)
; e2=array_append_record(e1,evp3,0)
; e3=array_append_record(e2,evp4,0)
; evp=array_append_record(e3,evp5,0)
; fout->evspsbl=evp

; fin=addfile("evspsbl_Amon_NESM3_historical_r1i1p1f1_gn_185001-201412.nc","r")
; evp=fin->evspsbl(1548::,{24:43},{73:107})
; fout=addfile("evspsbl_NESM3_historical_197901-201412.nc","c")
; filedimdef (fout, "time", -1, True)
; fout->evspsbl=evp

; fin=addfile("evspsbl_Amon_MIROC6_historical_r1i1p1f1_gn_195001-201412.nc","r")
; evp=fin->evspsbl(348::,{24:43},{73:107})
; fout=addfile("evspsbl_MIROC6_historical_197901-201412.nc","c")
; filedimdef (fout, "time", -1, True)
; fout->evspsbl=evp


f1=addfile("evspsbl_Amon_CESM2-WACCM-FV2_historical_r1i1p1f1_gn_195001-199912.nc","r")
f2=addfile("evspsbl_Amon_CESM2-WACCM-FV2_historical_r1i1p1f1_gn_200001-201412.nc","r")
evp1=f1->evspsbl(348::,{24:43},{73:107})
evp2=f2->evspsbl(:,{24:43},{73:107})
fout=addfile("evspsbl_CESM2-WACCM-FV2_historical_197901-201412.nc","c")
filedimdef (fout, "time", -1, True)
evp=array_append_record(evp1,evp2,0)
fout->evspsbl=evp

; f1=addfile("evspsbl_Amon_E3SM-1-0_historical_r1i1p1f1_gr_197501-199912.nc","r")
; f2=addfile("evspsbl_Amon_E3SM-1-0_historical_r1i1p1f1_gr_200001-201412.nc","r")
; evp1=f1->evspsbl(48::,{24:43},{73:107})
; evp2=f2->evspsbl(:,{24:43},{73:107})
; fout=addfile("evspsbl_E3SM-1-0_historical_197901-201412.nc","c")
; filedimdef (fout, "time", -1, True)
; evp=array_append_record(evp1,evp2,0)
; fout->evspsbl=evp
end

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部