Search found 22 matches

by hclarke
Wed Aug 30, 2017 2:14 pm
Forum: ROMS Tools and Techniques
Topic: roms_zview
Replies: 0
Views: 2395

roms_zview

I wanted to plot a vertical section of temperature overlain by the velocity of my data. I was wondering if someone can help me modify the wilkin roms_zview function to be able to do this. That is, plot the temperature profile overlain by vertical and longitudinal velocity vectors (instead of latitud...
by hclarke
Tue Jun 06, 2017 4:49 am
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1354641

Re: roms_matlab plotting and analysis routines

Hi again I've used: >> file = 'ocean_his.nc' >> g=roms_get_grid(file,file) >> roms_iview(file,'temp','1-Jan-0001',1,g,1) then compared the plot with: >> roms_iview(file,'temp','6-Jan-0001',1,g,1). I've attached the figures. Is this what I'm supposed to be seeing? There is distortion to the left of t...
by hclarke
Sun Jun 04, 2017 2:29 pm
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1354641

Re: roms_matlab plotting and analysis routines

Hi again

I have successfully plotted the upwelling case, but now I want to plot it at a different times and even set up a bunch of times to be able to animate them. Can someone point me in the right direction in terms of the wilkin routines or otherwise?

Thanks
by hclarke
Fri May 26, 2017 4:23 pm
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1354641

Re: roms_matlab plotting and analysis routines

Thanks for that...Sorry, not getting a figure. I just tried it, and the first time I get a warning: Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click <a href="matlab:opengl('problems')">here</a>. The second t...
by hclarke
Fri May 26, 2017 11:39 am
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1354641

Re: roms_matlab plotting and analysis routines

Thanks John I just want to start off with a simple plot. Is it possible or feasible to plot pcolor(x_rho, y_rho, h)? I'm getting the following: file = 'ocean_his.nc'; x_rho=ncread(file,'x_rho'); y_rho=ncread(file,'y_rho'); h=ncread(file,'h'); mymap=pcolor(x_rho, y_rho, h) with no figure. How do I ge...
by hclarke
Fri May 26, 2017 5:55 am
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1354641

Re: roms_matlab plotting and analysis routines

Hi I'm also testing the upwelling case in matlab. I'm trying to follow the instructions, and what I get is this: >> filename='ocean_his.nc' filename = ocean_his.nc >> grd = roms_get_grid(filename,filename) Warning: Using initial bath for h > In roms_get_grid (line 95) Undefined function or variable ...
by hclarke
Tue Feb 28, 2017 11:56 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

OK, Thanks!

Otherwise, I'll try to view in Matlab...
by hclarke
Mon Feb 27, 2017 2:49 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

I put in the line in the makefile: NEED_VERSION := 3.80 3.81 3.82 4.2.1 Now have this error message: $ make /bin/sh: -d: invalid option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strin...
by hclarke
Mon Feb 27, 2017 2:29 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

Hmmm...I have the GNU make version 4.2.1 Would that be the problem?
by hclarke
Mon Feb 27, 2017 2:08 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

Hi Kate and m.hadfield Thanks so much for your help. I was able to compile and run Upwelling, obtaining the output files: ocean_avg.nc ocean_dia.nc ocean_his.nc ocean_rst.nc I am now attempting to use ROMS plotting package. I have installed it at: home/User/roms/plot and ran the makefile in home/Use...
by hclarke
Mon Feb 20, 2017 2:31 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

Ha ha...bloody hell! No that's fine...Thanks for your reply! Yes, I was just following instructions from the tutorial to edit my CYGWIN-gfortran.mk file to have the line: FC := gfortran-4 ...as opposed to: FC := gfortran. The latter works and the former does not. I now have the oceanS.exe, so succes...
by hclarke
Mon Feb 20, 2017 2:25 pm
Forum: ROMS Installation
Topic: Can anyone help with CYGWIN and build.bash??
Replies: 2
Views: 3838

Re: Can anyone help with CYGWIN and build.bash??

Thanks for your reply! Yes, I was just following instructions from the tutorial to edit my CYGWIN-gfortran.mk file to have the line: FC := gfortran-4 ...as opposed to: FC := gfortran. The latter works and the former does not. Not sure if the FAQ has been updated, but I now have the oceanS.exe, so su...
by hclarke
Mon Feb 20, 2017 3:47 am
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

Oh, via the instructions in the Tutorial: Installing ROMS in Windows XP / Vista / 7 (via Cygwin), it told me to do this: Customizing the CYGWIN-gfortran.mk file Gfortran is part of the 4.x line of the GNU Compiler Collection. Cygwin allows both the 3.x and 4.x versions to be installed at the same ti...
by hclarke
Sun Feb 19, 2017 9:31 am
Forum: ROMS Installation
Topic: Can anyone help with CYGWIN and build.bash??
Replies: 2
Views: 3838

Can anyone help with CYGWIN and build.bash??

I'm stuck compiling the upwelling case. I have attached my build.bash file and here is the error message. Could someone please help who has experience with roms via CYGWIN? User@User-PC ~/roms/Projects/Upwelling $ ./build9.bash rm -f -r core *.ipo /home/User/roms/projects/upwelling/Build /home/User/...
by hclarke
Sun Feb 19, 2017 9:22 am
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

yes, still stuck. Here is the error, and attached build.bash User@User-PC ~/roms/Projects/Upwelling $ ./build9.bash rm -f -r core *.ipo /home/User/roms/projects/upwelling/Build /home/User/make_mac ros.mk makefile:239: INCLUDING FILE /home/User/make_macros.mk WHICH CONTAINS APPLICATIO N-DEPENDENT MAK...
by hclarke
Sun Feb 12, 2017 2:01 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

I'm not sure either...Here are some specifically dumb questions, so apologies! 1. MY_ROOT_DIR=${HOME}/roms Is this correct, as the windows path to my roms is C:\cygwin\home\User\roms The Linux path is User@User-PC ~/roms 2. Should I have: USE_MPI=on and USE_MPIF90=on OR should they be blank: USE_MPI...
by hclarke
Sat Feb 11, 2017 12:45 am
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Re: Problem with compiling build.bash and netcdf on cygwin

Thanks for your reply Kate. The nc-config and nf-config files are located in C:\cygwin\bin, so they are installed. I edited my build.bash in the gfortran section to look like this: if [ -n "${USE_NETCDF4:+1}" ]; then if [ -n "${USE_PARALLEL_IO:+1}" ] && [ -n "${USE_M...
by hclarke
Fri Feb 10, 2017 3:18 pm
Forum: ROMS Installation
Topic: Problem with compiling build.bash and netcdf on cygwin
Replies: 17
Views: 13544

Problem with compiling build.bash and netcdf on cygwin

Hi I've been attempting to compile my attached build.bash using cygwin with the following error: $ ./build.bash rm -f -r core *.ipo /home/User/roms/Projects/Upwelling/Build /home/User/make_macros.mk makefile:239: INCLUDING FILE /home/User/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFI...
by hclarke
Wed Jan 25, 2017 4:07 am
Forum: ROMS Installation
Topic: upwellingcase/installation
Replies: 7
Views: 6578

Re: upwellingcase/installation

Hi again. I'm still attempting to compile the Upwelling case. Here is the latest error message: $ ./build.bash rm -f -r core *.ipo /home/User/roms/Projects/Upwelling/Build /home/User/make_mac ros.mk makefile:239: INCLUDING FILE /home/User/make_macros.mk WHICH CONTAINS APPLICATIO N-DEPENDENT MAKE DEF...
by hclarke
Mon Dec 12, 2016 3:22 am
Forum: ROMS Installation
Topic: upwellingcase/installation
Replies: 7
Views: 6578

Re: upwellingcase/installation

Hi ngarg Thanks for your response. Yes I have dos2unix installed and ran it. I then made some of the changes to build.bash, but having read other posts, am unsure which bits of build.bash to edit. Here's my error message: $ ./build.bash ./build.bash: line 397: cd: /home/User/ocean/repository/trunk: ...
by hclarke
Thu Dec 08, 2016 7:00 am
Forum: ROMS Installation
Topic: upwellingcase/installation
Replies: 7
Views: 6578

Re: upwellingcase/installation

Hello I've just started on ROMS and the installation. I'm getting the exact same error message while typing the command ./build.bash Error message: ./build.bash: line 40: $'\r': command not found ./build.bash: line 43: $'\r': command not found ./build.bash: line 46: syntax error near unexpected toke...