Forecasts with tides

I am running forecasts with CROCO using the make_GFS and make_OGCM_mercator routines. Everything runs correctly so far. However, I encounter an issue when I try to add tides to the forecast, and I’m unsure how to proceed. I imagine someone else might have done this before.

I’m using OGCM = mercator and mercator_type = 3 (forecast) in the crocotools_param.m file. In section 8, I have activated the part for adding tidal forcing.
image

However, I noticed that this tidal information does not appear in the mercator_xxxx.cdf file. When I run the simulation, I get the following error

I am wondering if it is necessary to include an additional step, such as make_tides, to add tidal forcing. I’d appreciate any advice or suggestions!

Hello Alonso,

What version of CrocoTools are you using? I’m not sure if this detail has been fixed in the latest versions, but at least in the older ones, it had to be done manually. First, let me clarify a few things. The amplitude and phase information of the tidal harmonics (and everything related to it) is added to the “croco_frc.nc” file, not to the Mercator boundary file. In fact, if you read your error message, it says that it’s looking for the information in the “croco_frc_GFS_9157.nc” file.

Secondly, for forecasting, you should use mercator_type=1. With this in mind, what needs to be done is to run or use the add_tidal_data script so that the tides are corrected daily.

I hope this helps!

2 Likes

hi osvaldo,
Im using croco v2.0.1 with croco_tools 2.0.0 ( stable version)
thanks for answering