hello everyone.I donwload the roms plot package follow instruction:
svn checkout https://www.myroms.org/svn/src/plot roms_plot
after some change,I install it successful .
And there are ccnt,cnt,et al in the PLT_BINDIR.
But when I want to plot the upwelling output,follwing the Cross-section Plots :
slvester@Oceanstar:~/roms/myplot/example> csec < csec_upwelling.in
At line 736 of file csec.f90
Fortran runtime error: No such file or directory
I find At line 736 of file cses.f90 it is :OPEN(inpvid,file=fname(0),form='formatted',status='old').
Wtha't the matter?Can you help me
_set____________________________________________
In csec_upwelling:
~/roms/roms_plot/Data/varid.dat
~/roms/roms_plot/Palettes/natlan1.pal
default.cnt
~/roms/example/upwelling/output/ocean_avg.nc
~/roms/example/upwelling/output/ocean_his.nc
~/roms/example/upwelling/output/ocean_grd.nc
makefile:
PLT_DEBUG ?=
PLT_LARGE ?=
# USE_NETCDF4 ?=
FORT ?= gfortran
NCAR_VERSION ?= NCARG441
PLT_BINDIR ?= /dcfs2/users/slvester/roms/roms_plot/src/output
ROMS Rvison 408
Plotpackage Rvision 408
Any suggestion is appreciated!
plot package :Cross-section Plots problem
Re: plot package :Cross-section Plots problem
As you have realized, the plotting packages is telling you that one of the files listed in your csec_upwelling.in file is missing. Do you have a copy of default.cnt in the directory where you are executing the :
command? If not change that line in your csec_upwelling.in file so that it points to the correct location of your default.cnt. For Example:
Since you're following the tutorial this is likely not the issue. I would suggest that you also try giving absolute paths instead of using the ~. If all of your paths are correct and you still get an error please attach your csec_upwelling.in to your reply.
Code: Select all
csec < csec_upwelling.in
Code: Select all
...
~/roms/roms_plot/Palettes/natlan1.pal
~/roms/roms_plot/Data/default.cnt
~/roms/example/upwelling/output/ocean_avg.nc
...
-
- Posts: 32
- Joined: Mon Jun 01, 2009 12:59 pm
- Location: second institution of oceanography,state oceanic administration China
Re: plot package :Cross-section Plots problem
Yes,Thank you roberston,you are right
-------------------------------------------
I set the csec_upwelling.in
/dcfs2/users/slvester/roms/roms_plot/Data/varid.dat
/dcfs2/users/slvester/roms/roms_plot/Palettes/natlan1.pal
/dcfs2/users/slvester/roms/myplot/example/default.cnt
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_avg.nc
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_his.nc
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_grd.nc
----------------------------------------------
Then
csec < csec_upwelling.in
And it is ok,it run successful
There also the gmeta
But
When I write: > idt gmeta &
[1] 14507
slvester@OceanStar:~/roms/myplot/example> Error: Can't open display:
Some new trouble is coming,i can't view the plot.
-----------------------
so I try:
slvester@OceanStar:~/roms/myplot/example> which csec
/dcfs2/users/slvester/bin/csec
slvester@OceanStar:~/roms/myplot/example> which idt
/usr/local/ncl/bin/idt
slvester@OceanStar:~/roms/myplot/example> printenv NCARG_ROOT
/usr/local/ncl
But I use the ncarg5.0.0 in :/dcfs2/users/slvester/bin/ncarg5.0.0
Is that mean the NCARG_ROOT I set is wrong?How can i change it,but i just find there are
NCARG_ROOT in the makefile,and i set it right.If there are other NCARG_ROOT i must to set?
Many thanks to you!
yes.robertson wrote:Do you have a copy of default.cnt in the directory where you are executing the :
Code:
csec < csec_upwelling.in
-------------------------------------------
I set the csec_upwelling.in
/dcfs2/users/slvester/roms/roms_plot/Data/varid.dat
/dcfs2/users/slvester/roms/roms_plot/Palettes/natlan1.pal
/dcfs2/users/slvester/roms/myplot/example/default.cnt
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_avg.nc
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_his.nc
/dcfs2/users/slvester/roms/example/upwelling/output/ocean_grd.nc
----------------------------------------------
Then
csec < csec_upwelling.in
And it is ok,it run successful
There also the gmeta
But
When I write: > idt gmeta &
[1] 14507
slvester@OceanStar:~/roms/myplot/example> Error: Can't open display:
Some new trouble is coming,i can't view the plot.
-----------------------
so I try:
slvester@OceanStar:~/roms/myplot/example> which csec
/dcfs2/users/slvester/bin/csec
slvester@OceanStar:~/roms/myplot/example> which idt
/usr/local/ncl/bin/idt
slvester@OceanStar:~/roms/myplot/example> printenv NCARG_ROOT
/usr/local/ncl
But I use the ncarg5.0.0 in :/dcfs2/users/slvester/bin/ncarg5.0.0
Is that mean the NCARG_ROOT I set is wrong?How can i change it,but i just find there are
NCARG_ROOT in the makefile,and i set it right.If there are other NCARG_ROOT i must to set?
Many thanks to you!
-
- Posts: 32
- Joined: Mon Jun 01, 2009 12:59 pm
- Location: second institution of oceanography,state oceanic administration China
Re: plot package :Cross-section Plots problem
OK ,now it is ok,thank you robertson.