Ihave plotgrids.ncl in
home/bdipson/WRF/WPS_intel/util
This ddirectory has other files too. :
vg_tsfc.exe | g1print.exe | gfs.ncl | height_ukmo.exe | Makefile| plotfmt.ncl | plotgrids.ncl | plotgrids_old.ncl | src vertical_grid_50_20m_63km.txt
calc_ecmwf_p.exe | g2print.exe| gfs_old.ncl | int2nc.exe | mod_levs.exe| plotfmt_nc.ncl| plotgrids_new.ncl| rd_intermediate.exe | vertical_grid_38_20m_G3.txt vertical_grid_70_20m_80km.txt
>>>cat plotgrids.ncl
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
begin
;
; Check the version of NCL
version = systemfunc("ncl -V")
if(version.lt.6.1) then
print("You need NCL V6.1 to run this script. Try running util/plotgrids_old.ncl. Stopping now...")
return
end if
if(version.ge.6.2) then
print("You need NCL V6.1 to run this script. Try running util/plotgrids_new.ncl. Stopping now...")
return
end if
; We generate plots, but what kind do we prefer?
type = "x11"
; type = "pdf"
; type = "ps"
; type = "ncgm"
wks = gsn_open_wks(type,"wps_show_dom")
; read the following namelist file
filename = "namelist.wps"
.....................................
my namelist.wps file is in
/home/bdipson/WRF/WPS_intel
...when I use ncl plotgrids.ncl it says command not found, how can i use to view my namelist.wps file??? should i copy the namelist.wps to home/bdipson/WRF/WPS_intel/util??
what should be $NCARGS_ROOT, when I echo $NCARGS_ROOT it displays nothing,
$PATH
echo $PATH
/home/bdipson/.local/bin:/home/bdipson/bin:/home/miniconda/miniconda3/bin:/home/miniconda/miniconda3/condabin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
home/bdipson/WRF/WPS_intel/util
This ddirectory has other files too. :
vg_tsfc.exe | g1print.exe | gfs.ncl | height_ukmo.exe | Makefile| plotfmt.ncl | plotgrids.ncl | plotgrids_old.ncl | src vertical_grid_50_20m_63km.txt
calc_ecmwf_p.exe | g2print.exe| gfs_old.ncl | int2nc.exe | mod_levs.exe| plotfmt_nc.ncl| plotgrids_new.ncl| rd_intermediate.exe | vertical_grid_38_20m_G3.txt vertical_grid_70_20m_80km.txt
>>>cat plotgrids.ncl
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
begin
;
; Check the version of NCL
version = systemfunc("ncl -V")
if(version.lt.6.1) then
print("You need NCL V6.1 to run this script. Try running util/plotgrids_old.ncl. Stopping now...")
return
end if
if(version.ge.6.2) then
print("You need NCL V6.1 to run this script. Try running util/plotgrids_new.ncl. Stopping now...")
return
end if
; We generate plots, but what kind do we prefer?
type = "x11"
; type = "pdf"
; type = "ps"
; type = "ncgm"
wks = gsn_open_wks(type,"wps_show_dom")
; read the following namelist file
filename = "namelist.wps"
.....................................
my namelist.wps file is in
/home/bdipson/WRF/WPS_intel
...when I use ncl plotgrids.ncl it says command not found, how can i use to view my namelist.wps file??? should i copy the namelist.wps to home/bdipson/WRF/WPS_intel/util??
what should be $NCARGS_ROOT, when I echo $NCARGS_ROOT it displays nothing,
$PATH
echo $PATH
/home/bdipson/.local/bin:/home/bdipson/bin:/home/miniconda/miniconda3/bin:/home/miniconda/miniconda3/condabin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
Last edited: