Search found 48 matches

by Scarlett
Wed Mar 27, 2019 1:09 am
Forum: ROMS Discussion
Topic: Start model in a specific month
Replies: 1
Views: 1196

Start model in a specific month

Hi roms users! Is there a way to start the model in October of year 1 and end in April of year 2?
How can I do it?

Thanks in advance.

Scarlett.
by Scarlett
Wed Dec 19, 2018 5:38 pm
Forum: ROMS Discussion
Topic: High water speed values in hisfile
Replies: 5
Views: 2846

Re: High water speed values in hisfile

Dear John, Thanks for your reply! Can you make sure the disk is not full or nothing else is strange for the ocean_his.nc file. The disk has enough space to write, what other thing could be strange? For the values of high stress and currents - if you ncview the his file, are those high coastal values...
by Scarlett
Tue Dec 18, 2018 10:47 pm
Forum: ROMS Discussion
Topic: High water speed values in hisfile
Replies: 5
Views: 2846

Re: High water speed values in hisfile

Hi John! I don't have problem with zeta, rho, temp, salt, etc... but sustr, svstr, u and v have values of the order 5-7e+36. Is possible that this was a mask problem? Is this would cause that the model blow-up? Taking into consideration the following: "At the end of every time step, the values ...
by Scarlett
Fri Dec 14, 2018 6:33 pm
Forum: ROMS Discussion
Topic: High water speed values in hisfile
Replies: 5
Views: 2846

High water speed values in hisfile

Hi everybody: My model blown up at 55 days, apparently the cause is near the coast... the history file has very high water speed values (example 5x10^36). wind.png This is a part of the matrix, where you can appreciate the extreme velocity values near the coast Screenshot-1.png Does anyone have any ...
by Scarlett
Fri Dec 07, 2018 6:46 pm
Forum: ROMS Discussion
Topic: mask and limits in the d_ecmwf2roms.m tool
Replies: 0
Views: 1061

mask and limits in the d_ecmwf2roms.m tool

Hi! I have been working with the d_ecmwf2roms tool, but I realized that the outputs of the script are the size of the input files (ECMWF downloads: 40°N 10°S -140°W -70°W), not the size that I stipulated in the script: Lonmin:-99.07 Lonmax:-90.56 Latmin:9.25 Latmax:17.31 On the other hand the output...
by Scarlett
Thu Nov 22, 2018 4:10 pm
Forum: ROMS Discussion
Topic: Problem with the time of the ECMWF files
Replies: 2
Views: 3871

Problem with the time of the ECMWF files

Dear All, I’ve been trying to create the atmospheric forcing inputs to ROMS with the d_ecmwf2roms.m, I followed the instructions that come at the beginning of the script: ---------------------------------------d_ecmwf2roms.m------------------------------------------ % This is a user modifiable scrip...
by Scarlett
Thu Sep 06, 2018 6:36 pm
Forum: ROMS Problems
Topic: ECMWF REGRID-input gridded data does not contain model grid
Replies: 3
Views: 3128

Re: ECMWF REGRID-input gridded data does not contain model g

Hello everyone! Like Ruiming wu I used ecmwf2roms generated forcing file. I did my grid, and I used the grid lat and lon for create all my inputs files. ymax=20.3070; ymin=-10.3042; xmax=-76.7665; xmin=-130.9754; But when I run my model, I get: REGRID - input gridded data does not contain model grid...
by Scarlett
Thu Sep 06, 2018 5:27 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Hi all! The problem was solved with the Kate advice. This is the code that I used in matlab, based in the Kate code. % load forcing file ncfile='/path/forcing_file_era.nc'; nc=netcdf(ncfile); ncdump(nc); % see the forcing time time_frc=nc{'forcing_time'}(:); % change the fist time value (.0625 to 0)...
by Scarlett
Tue Sep 04, 2018 10:19 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Thanks Kate, I will follow your advice.
I have two questions.

What is your input file... the download file? or the file after the ecmwf2roms process?
And why do you time is 29226.5? is value is like my 885360 or my .0625?
by Scarlett
Tue Sep 04, 2018 4:19 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Hi everybody! So many thanks for your help. I tried changing the Tscale but it does not work. So the only way was mash together twelve months into a year, like each one had suggested to me. I mash with ncrcat following the Kate suggest, the ecmwf2roms works without problem. But now,I have an other p...
by Scarlett
Fri Aug 31, 2018 5:24 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Kate and Catherine many thanks for your help. Kate Did you check the times in all your files? Yes, I checked them. The files that I download from ECMWF and the files that the d_ecmwf2roms.m tool crate. Are you sure you have all twelve months there? Yes all the files that d_ecmwf2roms.m did are in th...
by Scarlett
Thu Aug 30, 2018 10:27 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Hi Kate! I did my forcing files with d_ecmwf2roms.m tool. I get 156 files (13 each month). I wrote the forcing files names in my ocean.in file, like this: ! Input forcing NetCDF file name(s). The USER has the option to enter ! several file names for each nested grid. For example, the USER may ! have...
by Scarlett
Thu Aug 30, 2018 4:56 pm
Forum: ROMS Discussion
Topic: d_ecmwf2roms.m
Replies: 12
Views: 5693

Re: d_ecmwf2roms.m

Hi everybody!
I solved the last problem, the error was in my files. My internet isn't good and the download was bad, the files were damaged.
When I donwnload the files again, everything ran good.
Thanks again for your help.
-
Scarlett Mar.Mo.
by Scarlett
Tue Aug 21, 2018 5:50 pm
Forum: ROMS Discussion
Topic: d_ecmwf2roms.m
Replies: 12
Views: 5693

Re: d_ecmwf2roms.m

Many thanks Joe and John! It worked with Joe's advice (thanks Joe), but now I know is not necessary (thaks John) :wink: - My script worked. But I've been having problems with the dates. I downloaded the forcing variables since ECMWF page, but it only let me download month by month. The d_ecmwf2roms....
by Scarlett
Mon Aug 20, 2018 4:15 pm
Forum: ROMS Discussion
Topic: d_ecmwf2roms.m
Replies: 12
Views: 5693

d_ecmwf2roms.m

Hi modelers! I'm trying to use the d_ecmwf2roms.m tool, but I've been having an error using it: ... ** Creating ROMS NetCDF forcing file: /home/ahumada/roms-3.7/matlab/forcing/forcing_inputs/gt_Qair_era.nc ** Wrote lon into record: , Min=-1.40000e+02 Max=-7.00000e+01 Wrote lat into record: , Min=-1....
by Scarlett
Tue Aug 14, 2018 11:12 pm
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Re: Cannot find "coordinates" attribute for variable: Uwind

Hi Kate! Many thanks for your help. I will crate the forcing file with d_ecmwf2roms.m script to have the correct structure. But the script suggests annual archives, and the ECMWF link http://apps.ecmwf.int/datasets/data/interim_full_daily/ only leave me download monthly files. Do you know how can I ...
by Scarlett
Fri Aug 10, 2018 12:06 am
Forum: ROMS Discussion
Topic: Cannot find "coordinates" attribute for variable: Uwind
Replies: 15
Views: 8985

Cannot find "coordinates" attribute for variable: Uwind

Hi everybody! I want to run a model with wind forcing. But when I run my model I get: GET_VARCOORDS - Cannot find "coordinates" attribute for variable: Uwind in file: /media/SCRATCH/Data/HyCom/ROMS_FILES/GT_wind.nc This attribute is needed to interpolate input data to model grid. Following...
by Scarlett
Mon May 28, 2018 4:21 pm
Forum: ROMS Discussion
Topic: Set a land mask on the sea in SeaGrid
Replies: 22
Views: 33391

Re: Set a land mask on the sea in SeaGrid

Dear Alexander: I tried install this mask tool, but was necessary change some of my libraries and dependencies, and this could affect the dependencies that ROMS uses, I chose not install. For a time I decided work with the normal grid (without mask the Atlantic) but is demanding in time way. So what...
by Scarlett
Fri May 04, 2018 10:15 pm
Forum: ROMS Discussion
Topic: Perfect restart
Replies: 2
Views: 2217

Perfect restart

Dear modelers! I'm running a model from January 1 2001 to December 31 2001. My question is How can I stop the model and turn off the computer, and after some time turn on the computer and restart the model in the timestep that was previously? I has reading that exist something like PERFECT RESTART, ...
by Scarlett
Tue Apr 24, 2018 3:19 pm
Forum: ROMS Discussion
Topic: wide sponge layer
Replies: 3
Views: 2121

Re: wide sponge layer

Dear Kate: Thanks for your help and quick response. Yes I have define ANA_SPONGE and UV_VIS2, I found this in ana_sponge.h : # if defined UV_VIS2 IF (LuvSponge(ng)) THEN DO i=IstrT,IendT DO j=JstrT,JendT MIXING(ng) % visc2_r(i,j)=ABS(factor(i,j))* & & MIXING(ng) % visc2_r(i,j) END DO END DO ...
by Scarlett
Mon Apr 23, 2018 9:42 pm
Forum: ROMS Discussion
Topic: wide sponge layer
Replies: 3
Views: 2121

wide sponge layer

Hello everyone!
Could anybody help me to find where I can set the wide sponge layer?

I found in the file ocean.in that I can set the viscosity, but I didn't find the part of the wide.
I hope you can help me. Thanks in advance.

Scarlett Mar.Mo.
by Scarlett
Thu Feb 15, 2018 7:21 pm
Forum: ROMS Discussion
Topic: Set a land mask on the sea in SeaGrid
Replies: 22
Views: 33391

Re: Set a land mask on the sea in SeaGrid

Dear Alexander: Thanks a lot for your help, it was and will be so helpful. Already with the new tools, I could compile mpc. But now when I type make, I get: -------------------------------------------------------------- [ahumada@master tools]$ make gfortran -fopenmp -fno-second-underscore -c -I/usr/...
by Scarlett
Wed Feb 14, 2018 5:46 pm
Forum: ROMS Discussion
Topic: Set a land mask on the sea in SeaGrid
Replies: 22
Views: 33391

Re: Set a land mask on the sea in SeaGrid

Hi Alexander F. Shchepetkin: So many thanks for your help. Yes, it is the kind of grid that I want to create. I followed your advice to do it with the new tools. But I had have some problems with the mpc compile. I followed the README.compiling file, but when I compile mpc I get: mpc.f:335:18: Error...
by Scarlett
Sat Feb 10, 2018 1:04 am
Forum: ROMS Discussion
Topic: Set a land mask on the sea in SeaGrid
Replies: 22
Views: 33391

Re: Set a land mask on the sea in SeaGrid

Hi Kate: So many thanks for your help, I had not known that the model requires all angles to be right angles. I already corrected this, for the other hand I could mask the sea in matlab, based on your code. Thanks. But I have a question, Do you know how can I save the netcdf file with the new variab...
by Scarlett
Wed Feb 07, 2018 5:15 pm
Forum: ROMS Discussion
Topic: Set a land mask on the sea in SeaGrid
Replies: 22
Views: 33391

Set a land mask on the sea in SeaGrid

Hi ROMS users! I'm working with SeaGrid, in my map I want to mask a part of the ocean, like it was a land mask. Already I'm doing it clicking on a each ocean cell where that I want do the mask, but I have many cells (because my resolution is 1/24°) and my masking will be very slow. I wonder if exist...
by Scarlett
Wed Jan 17, 2018 11:13 pm
Forum: ROMS Discussion
Topic: Error in make whith analytic sea surface height actived
Replies: 8
Views: 14038

Re: Error in make whith analytic sea surface height actived

So many thanks Kate, I will try with it.
Mar.Mo.
by Scarlett
Wed Jan 17, 2018 3:19 pm
Forum: ROMS Discussion
Topic: Error in make whith analytic sea surface height actived
Replies: 8
Views: 14038

Re: Error in make whith analytic sea surface height actived

Hi Leo: So many thanks for your help, I had Flather (2D momentum) for all state variables, I changed Flather for Radiation in temperature and salinity, and I increased the horizontal viscosity coefficient to 50 m2/s, and it works. But do you suguest me to use RadNud? What's is the diference between ...
by Scarlett
Tue Jan 16, 2018 11:08 pm
Forum: ROMS Discussion
Topic: Error in make whith analytic sea surface height actived
Replies: 8
Views: 14038

Re: Error in make whith analytic sea surface height actived

I added the lateral boundary conditions and the climatology files of the Hycom data, I have already verified this data and they are fine. The values of temperature and salinity are correct, but after the simulation I get something similar than I showed before. I think I need to specify more for heat...
by Scarlett
Tue Jan 16, 2018 4:32 pm
Forum: ROMS Discussion
Topic: Error in make whith analytic sea surface height actived
Replies: 8
Views: 14038

Re: Error in make whith analytic sea surface height actived

Kate, so many thanks for your time and for your help. It works but I have a problem, in my history file, the salinity downs and temperature cools down as time passes (beginning by the borders), the superficial layers begin to cool and little by little the deepest ones. Do you know why this happens? ...
by Scarlett
Mon Jan 15, 2018 6:04 pm
Forum: ROMS Discussion
Topic: Error in make whith analytic sea surface height actived
Replies: 8
Views: 14038

Error in make whith analytic sea surface height actived

Hello modelers!! I have a problem in make when I active analytic sea surface height, I get: ------------------------------------------------------------------------- cd Build; /opt/pb/gcc-5.1.0/bin/gfortran -c -frepack-arrays -fopenmp -O3 -ffast-math -ffree-form -ffree-line-length-none mp_exchange.f...
by Scarlett
Sat Dec 09, 2017 12:25 am
Forum: ROMS Discussion
Topic: input forcing files
Replies: 4
Views: 2547

Re: input forcing files

Jcwarner, you have all the reason. It works. Sorry, I had not read well:

NETCDF_CHECK_VAR - inconsistent value of variable: Tcline 1.500000E+02 1.000000E+01

Thanks a lot.

Mar.Mo.
by Scarlett
Fri Dec 08, 2017 4:54 pm
Forum: ROMS Discussion
Topic: input forcing files
Replies: 4
Views: 2547

Re: input forcing files

Hi jcwarner! So many thanks for your quick response, it worked, almost. Now I have other error. *********************************************************************************************** ... Minimum barotropic Courant Number = 2.71230438E-01 Maximum barotropic Courant Number = 7.65529758E-01 Ma...
by Scarlett
Fri Dec 08, 2017 1:26 am
Forum: ROMS Discussion
Topic: input forcing files
Replies: 4
Views: 2547

input forcing files

Hi everybody I have had some problems with my inputs forcing files. I have 3 forcing files, one for general forcing "GT_gnfrc.nc", one for tidal forcing "GT_tidfrc.nc" and the lastone for winds "GT_wind2003.nc". But ROMS only read one. Here is my setting up in my **.in ...
by Scarlett
Thu Nov 23, 2017 6:21 pm
Forum: ROMS Discussion
Topic: Fatal Error: Reading module ‘netcdf’
Replies: 0
Views: 1792

Fatal Error: Reading module ‘netcdf’

Hi everybody: I'm configuring roms with the Fennel model, but when I compile with make I obtain: - f951: Fatal Error : Reading module ‘netcdf’ at line 1 column 2: Unexpected EOF compilation terminated. make: *** [Build/mod_netcdf.o] Error 1 - I've run other models before, and I did not get this erro...
by Scarlett
Thu Jun 15, 2017 3:33 pm
Forum: ROMS Discussion
Topic: Blowing-up: Saving latest model state into RESTART file
Replies: 6
Views: 3195

Re: Blowing-up: Saving latest model state into RESTART file

Hi Kate: So many thanks for your help, it was so useful, it run at 20 m deep! - I've been doing some sensitive test, and It's run at 180m maximum deep. But, What would happen if I want to considered a realistic bathymetry?How can I avoid this inconsistency, without smoothing so much the bathymetry? ...
by Scarlett
Wed Jun 14, 2017 10:25 pm
Forum: ROMS Discussion
Topic: Blowing-up: Saving latest model state into RESTART file
Replies: 6
Views: 3195

Re: Blowing-up: Saving latest model state into RESTART file

Hi! - Many thanks to both for your help. - I had smoothing the grid ... step by step to the extent that I smoothing at 2000m deep, because I only have interesting in the first 200 m of the surface, but I still have the same problem ... - My Beckmann value still been 9.943090e-1 although the grid is ...
by Scarlett
Fri Jun 09, 2017 1:41 am
Forum: ROMS Discussion
Topic: Blowing-up: Saving latest model state into RESTART file
Replies: 6
Views: 3195

Blowing-up: Saving latest model state into RESTART file

Hi modelers: - I'm working with roms-3.7 and when I run my model,it blow up at seven time steps. If I change the passage of time, I only get a blow up delayed. - I will add my out.txt, my ocean.in and my .h file. - If somebody can help me I will be so gratefull for ever :D - Thanks in advance. Mar.Mo.
by Scarlett
Thu Jun 08, 2017 9:08 pm
Forum: ROMS Discussion
Topic: Name c preprocessor variables
Replies: 2
Views: 1625

Re: Name c preprocessor variables

Hi Kate:
-
Thank you very much for answering
-
Mar.Mo.
by Scarlett
Thu Jun 08, 2017 6:04 pm
Forum: ROMS Discussion
Topic: Name c preprocessor variables
Replies: 2
Views: 1625

Name c preprocessor variables

Hello modelers: - I was working with old roms versions, and now I'm working with roms-3.7. I'm looking for some c processor variables, with which I was working on the older version of roms, but in the newer version (3.7) I still can not find them: - ASSUMED_SHAPE POWER_LAW K_GSCHEME DOUBLE_PRECISION...
by Scarlett
Thu May 25, 2017 12:41 am
Forum: ROMS Installation
Topic: OSX ./build.bash problems (upwelling test case).
Replies: 15
Views: 16128

Re: OSX ./build.bash problems (upwelling test case).

Hi Kate, thanks for your help: - Apparently "install netcdf-fortran + gcc51" do not works for me.... I get: [root@:ahumada]$(12)->yum install netcdf-fortran + gcc51 Loaded plugins: changelog, fastestmirror, presto, refresh-packagekit, security Setting up Install Process Loading mirror spee...
by Scarlett
Mon May 22, 2017 2:25 pm
Forum: ROMS Installation
Topic: OSX ./build.bash problems (upwelling test case).
Replies: 15
Views: 16128

Re: OSX ./build.bash problems (upwelling test case).

Hi everyone! I'm working with roms-3.7, and I had the same problem with the compiler. - makefile:235: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS cd Build; /opt/pb/gcc-5.1.0/bin/gfortran -c -frepack-arrays -fopenmp -O3 -ffast-math -ffree-form -ffree-line...
by Scarlett
Mon May 15, 2017 2:27 pm
Forum: ROMS Discussion
Topic: download roms-3.7 code
Replies: 2
Views: 2219

Re: download roms-3.7 code

Hi Kate!
So many thanks for your reply.
-
Effectively it was in mod_ncparam, is 3.7 version.
-
Have a nice day.
-
Mar.Mo.
by Scarlett
Fri May 12, 2017 5:41 pm
Forum: ROMS Discussion
Topic: download roms-3.7 code
Replies: 2
Views: 2219

download roms-3.7 code

Hi everybody! - I'm trying download roms-3.7 via svn, but I can not find it yet. - If I download it with svn checkout --username Scarlett https://www.myroms.org/svn/src/ trunk src I get a roms code with a LastChangedDate: 2017-04-29, but I don't know, what roms version is... - And if I download it w...
by Scarlett
Wed May 10, 2017 11:04 pm
Forum: ROMS Discussion
Topic: Error while reading variable Uwind
Replies: 7
Views: 4509

Re: Error while reading variable Uwind

Hi!
So many thanks for your's answers, were so usefull to me.
My spherical value is 1, the problem was resolved when I did my grd.in file with a different seagrid2roms.m, which changed 'spherical=1' for 'spherical=T'.
-
Mar.Mo.
by Scarlett
Mon May 08, 2017 6:45 pm
Forum: ROMS Discussion
Topic: Error while reading variable Uwind
Replies: 7
Views: 4509

Re: Error while reading variable Uwind

Dear Kate, thanks for you replay My NetCDF grid file have the next description: Variables: spherical Size: 1x1 Dimensions: Datatype: int32 Attributes: long_name ='grid type logical switćh' flag_values=[0 1] flag_meanings= 'Cartesian spherical' Do I neet to change the flag_meanings 'Cartesian spheric...
by Scarlett
Mon May 08, 2017 5:48 pm
Forum: ROMS Discussion
Topic: Error while reading variable Uwind
Replies: 7
Views: 4509

Re: Error while reading variable Uwind

Hi Justina:
I have a similar problem.... Could you tell me where do you edited c{'sperical'}(:)='F' to nc{'spherical'}(:)='T' ? please, in the seagrid window or in a roms' script?
-
Thanks in advance
-
Mar.Mo.
by Scarlett
Thu Mar 30, 2017 3:33 pm
Forum: ROMS Installation
Topic: Authentication failed
Replies: 2
Views: 4027

Authentication failed

Hello everyone! I am trying to download ROMS but when I type: svn checkout --username scarlett https://www.myroms.org/svn/src/trunk src I get: Root @ scarlett-Inspiron-5558: / home / scarlett # svn checkout --username scarlett https://www.myroms.org/svn/src/trunk src Authentication domain: <https://...
by Scarlett
Thu Mar 23, 2017 4:34 pm
Forum: ROMS Discussion
Topic: Problems with Coastline Extractor
Replies: 3
Views: 2948

Re: Problems with Coastline Extractor

Hi!
-
You can do it with the seagrid program. There is an extract_coast.m script with which you can do a .m coast file with the domain you want.
-
See https://www.myroms.org/wiki/seagrid and https://woodshole.er.usgs.gov/operation ... orial.html
Cheers :wink:
-
Mar.Mo.