PREjelly

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

随笔分类 -  ncl

ncl 常用绘图属性之常规设置
摘要:wks_type = "png" wks_type@wkWidth = 2500 ;设置分辨率 wks_type@wkHeight = 2500 res = True res@tmXTOn = False res@tmYROn = False ;;;;;;;;;;;;;;;;;;;;;;;;;;;; 阅读全文

posted @ 2022-11-09 21:51 天天编程je 阅读(976) 评论(0) 推荐(0) 编辑

ncl批量读取多个nc文件
摘要:diri = "/mnt/g/data/3/" files = systemfunc("ls " + diri + "*nc4") ;批量读取文件路径 f1 = addfiles(files,"r") ListSetType (f1, "cat") lat = f1[0]->lat({20:30}) 阅读全文

posted @ 2022-11-07 21:08 天天编程je 阅读(1973) 评论(0) 推荐(0) 编辑

ncl中截取所需要的时间段数据
摘要:;;;;;;;;;;;装换时间 t = f->time YYYY =cd_calendar(t, -1) yrstrt =201901 ;起始年、月 yrlast =201912 ;结束年、月 ist =ind(yrstrt.eq.YYYY) iet =ind(yrlast.eq.YYYY) pre 阅读全文

posted @ 2022-10-21 21:34 天天编程je 阅读(554) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示