Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sat Sep 21, 2019 7:49 pm




Post new topic Reply to topic  [ 7 posts ] 

All times are UTC

Author Message
PostPosted: Thu Jun 06, 2019 10:11 am 
Offline

Joined: Sat Apr 07, 2018 12:59 am
Posts: 18
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
Dear all
I'm getting this error while running the scrip_coawst. Kindly help


[code][/code]
./scrip_coawst scrip_coawst_bob.in
================================================
Read input_file for SCRIP_COAWST Wrapper
================================================
Ngrid_roms= 1
Ngrid_swan= 0
Ngrid_ww3= 0
Ngrid_wrf = 1
Common netcdf file is:
scrip_bob.nc

Number of netcdf subgroups 2
Input ROMS grid 1 = /scratch/student2/COAWST/croco_grd.nc
Input WRF grid 1 = /scratch/student2/COAWST/wrfinput_d01
================================================
=============================================
Begin mapping between the two grids
---------------------------------------------
The interp file is:
ocn1_to_atm1_weights.nc

The src grid is:
/scratch/student2/COAWST/croco_grd.nc

The dst grid is:
/scratch/student2/COAWST/wrfinput_d01

----------------------------------------------
grid1 dimensions= 217 225
----------------------------------------------
----------------------------------------------
grid2 dimensions= 99 99
----------------------------------------------
Using latitude bins to restrict search.
Computing remappings between:
/scratch/student2/COAWST/croco_grd.nc

and
/scratch/student2/COAWST/wrfinput_d01

grid1 sweep
grid2 sweep
Total number of links = 65140
Error in netCDF:
Permission denied


I have exported LD_FLAGS , CPP FLAGS and all in terminal. Please help


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 06, 2019 2:17 pm 
Offline
Site Admin
User avatar

Joined: Wed Feb 26, 2003 3:12 pm
Posts: 121
Location: IMCS, Rutgers University
The "Permission denied" error would suggest that your user does not have read and/or write permissions to the file or directory.

The command "ls -la" will give you the permissions of all the files and the current directory, which will be listed as a single period (.)


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 07, 2019 3:42 am 
Offline

Joined: Sat Apr 07, 2018 12:59 am
Posts: 18
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
Yes i have permission for the executable and file.
Code:
-rwxrwxrwx 1 student2 research 1705764 Jun  6 16:05 scrip_coawst
-rwxrwxrwx 1 student2 research    1340 Jun  6 17:10 scrip_coawst_bob.in


and also for netcdf folder.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 07, 2019 3:55 am 
Offline

Joined: Sat Apr 07, 2018 12:59 am
Posts: 18
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
drwxrwxr-x 2 student2 research 14848 Jun 6 17:10 .
drwxr-xr-x 5 student2 research 10752 Jun 6 16:03 ..


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 07, 2019 5:28 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 795
Location: USGS, USA
let just see if you can create a file in that directory. try this command

touch help.txt

and then do
ls -ltr
do you see that file?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 10, 2019 3:47 am 
Offline

Joined: Sat Apr 07, 2018 12:59 am
Posts: 18
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
Hi,

I was able to create the file using touch command with following permission.

Code:
-rw-r--r-- 1 student2 research       0 Jun 10 09:12 help.txt


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 10, 2019 5:20 am 
Offline

Joined: Sat Apr 07, 2018 12:59 am
Posts: 18
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
Hi all

I tried two versions of COAWST, however getting the same error while using SCRIP_COAWST. Please help


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group