Hi everyone,
I'm practicing plot the ROMS output by using the plt_html.sh script, however I don't find the ncgm2www script in src/bin.
Can anyone kindly give me this program?
Thanks all,
Bests,
manh,
Missing the ncgm2www script in the ROMS plotting package
- arango
- Site Admin
- Posts: 1361
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: Missing the ncgm2www script in the ROMS plotting package
Notice that the subdirectory plot/src/Bin have other conversion scripts like ncgm2cgm.sh, ncgm2gif.sh, and ncgm2png.sh. The call to ncgmwww can be replaced with ncgm2git.sh. Anyway, I am attaching the old ncgm2www.sh script.
- Attachments
-
- ncgm2www.sh
- (3.92 KiB) Downloaded 459 times
Re: Missing the ncgm2www script in the ROMS plotting package
Hi Arango,
Thank you for your help.
I tried using your program to plot ROMS output but I got the error like that:
The detail of this error was described in the attachment.
The line 32 of file read_fname.f90 is "READ (unit,'(a)') text"
By the way, I also attach my controlling script.
Please help me to resolve this problem.
Thank you very much!
Thank you for your help.
I tried using your program to plot ROMS output but I got the error like that:
Code: Select all
Fri May 21 14:59:21 +07 2021
At line 32 of file read_fname.f90 (unit = 5, file = 'stdin')
Fortran runtime error: End of file
if: Expression Syntax.
At line 32 of file read_fname.f90 (unit = 5, file = 'stdin')
Fortran runtime error: End of file
if: Expression Syntax.
At line 32 of file read_fname.f90 (unit = 5, file = 'stdin')
Fortran runtime error: End of file
if: Expression Syntax.
At line 32 of file read_fname.f90 (unit = 5, file = 'stdin')
Fortran runtime error: End of file
if: Expression Syntax.
At line 32 of file read_fname.f90 (unit = 5, file = 'stdin')
Fortran runtime error: End of file
if: Expression Syntax.
The line 32 of file read_fname.f90 is "READ (unit,'(a)') text"
By the way, I also attach my controlling script.
Please help me to resolve this problem.
Thank you very much!
- Attachments
-
- plt_html1.sh
- (25.26 KiB) Downloaded 452 times
-
- html.log
- (41.82 KiB) Downloaded 447 times
Re: Missing the ncgm2www script in the ROMS plotting package
It may be because you have not listed a coastline file after the grid file. I believe the coastline file is required even if your plotted area does not have any land.
Re: Missing the ncgm2www script in the ROMS plotting package
Hi Robertson,
Thank you for your answer.
After I added the coastline file to the script, the error didn't appear again.
Unfortunately, I got the another error is that:
Can you kindly give me any suggestions?
Thank you very much!
Thank you for your answer.
After I added the coastline file to the script, the error didn't appear again.
Unfortunately, I got the another error is that:
Code: Select all
GET_NC2DAT - error while reading variable: temp
NetCDF: Index exceeds dimension bound
Execution abnormally terminated in module: GET_NC2DAT
Thank you very much!
- Attachments
-
- html.log
- (101.48 KiB) Downloaded 445 times
Re: Missing the ncgm2www script in the ROMS plotting package
REC needs to start at 1 not 0
Re: Missing the ncgm2www script in the ROMS plotting package
HI Robertson,
Thank you for your reply.
I've changed REC=0 in the script
Please help me to resolve this problem!
Thank you very much!
Thank you for your reply.
I've changed REC=0 in the script
however, this error still appeared.set DT=0 # plotting interval (plot all records
set REC=1 # Starting time record (minus 1) to process
Code: Select all
Plottable Fields in Primary NetCDF File:
---------------------------------------
/work/users/cloud/user/manh/anaconda3/plot/src/ROMS_output/ocean_hist_255.nc
[ID= 59] bathymetry at RHO-points
[ID= 66] Coriolis parameter at RHO-points
[ID= 57] curvilinear coordinate metric in XI
[ID= 58] curvilinear coordinate metric in ETA
[ID= 56] angle between XI-axis and EAST
[ID= 21] free-surface
[ID= 13] vertically integrated u-momentum component
[ID= 14] vertically integrated v-momentum component
[ID= 1] u-momentum component
[ID= 2] v-momentum component
[ID= 19] vertical momentum component
[ID= 20] S-coordinate vertical momentum component
[ID= 23] potential temperature
[ID= 24] salinity
[ID= 41] vertical viscosity coefficient
[ID= 68] surface u-momentum stress
[ID= 69] surface v-momentum stress
[ID= 76] bottom u-momentum stress
[ID= 77] bottom v-momentum stress
Available Times:
---------------
58009.00 58009.25 58009.50 58009.75 58010.00
58010.25 58010.50 58010.75 58011.00 58011.25
58011.50 58011.75 58012.00
Parameters:
number of points (Lr,Mr,Nr) = 477 303 16
basin dimensions (Lx,Le) = 8867.340 5625.918
map coordinates (Rlon,Llon) = 92.000 166.500
(Blat,Tlat) = -10.000 33.000
map projection = Mercator
GET_NC2DAT - error while reading variable: temp
NetCDF: Index exceeds dimension bound
Execution abnormally terminated in module: GET_NC2DAT
Thank you very much!