在使用NCL处理nc文件时, 如果是wrfout结果,可以用“wrf_ij_to_ll”、“wrf_ll_to_ij ”或者“wrf_user_xy_to_ll”函数找到距离特定位置(如观测点)对应的网格文件中最近的网格点; 如果是普通的netcdf文件,可能用distance和nearest关键字找不到想要的函数,ncl在介绍时用了“closest”关键字。我们简单看一下两...
slp(:,{50:70},{110:120}) ;直线网格的变量在有经纬度信息的情况下可以直接读取需要的范围 wrfout需要用到函数wrf_user_ll_to_ij,可参考官网wrf_user_ll_to_ij (ucar.edu) 有两种使用方法,一种是输入一组经纬度,输出的是离这个点最近的格点的index loc = wrf_user_ll_to_ij(a,lon_station, lat_s...
samwisehawkins/wrftoolsPublic NotificationsYou must be signed in to change notification settings Fork20 Star37 Code Issues3 Pull requests Actions Projects Wiki Security Insights Additional navigation options Files master config doc example ncl extract_time_series.ncl ...
NCL_Bruyere教程
autoload bin bundle colors dictionary ftdetect ftplugin plugin record snippets syntax Dockerfile.vim ncl.vim README.txt test.vim bash-git-prompt bin git_hooks others .bash_logout .bash_profile .bashrc .git_bashrc .gitconfig .gitignore
(currentv6.0.0) NCARG_ROOTenvironmentvariable o setenvNCARG_ROOT/usr/local/ncl WRFUsers'Tutorial Mesoscale&MicroscaleMeteorologicalDivision/NCAR 3 NCL&WRF NCL libraries WRFUserARW.ncl Diagnostics (inlinefunctions) + scripts Maintain/supportMMM UserModifiable WRFUsers'Tutorial Mesoscale&...
u = wrf_user_getvar(a,"U10",-1) output_u=new((/station_num,filenum+5/), float) output_u(:,0)=station output_u(:,1)=lon output_u(:,2)=lat do istation=0,station_num-1 loc = wrf_user_ll_to_ij(a,lon(istation), lat(istation), True)-1 ...
master .vim after autoload bin bundle colors dictionary ftdetect ftplugin plugin record snippets syntax Dockerfile.vim ncl.vim README.txt test.vim bash-git-prompt bin git_hooks others .bash_logout .bash_profile .bashrc .git_bashrc .gitconfig ...