# Interannual with ERA5 fails due to missing croco\_frc.nc

**URL:** <https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411>\
**Category:** croco tools (pre/post-processing)\
**Tags:** physics-params, forcing\
**Created:** [November 8, 2022, 5:24pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411 "2022-11-08T17:24:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantinos\_K](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/k/8797f3/32.png) [@Konstantinos\_K](https://forum.croco-ocean.org/u/Konstantinos_K)\
**Post date:** [November 8, 2022, 5:24pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411/1 "2022-11-08T17:24:53Z")

</div>

Hi,

I am trying to run an interannual simulation with ERA5 atmospheric data. When I am trying to use the bulk formula by specifying:  
“makefrc = 0” and “makeblk = 1” in the crocotools\_param.m all the “croco\_blk\_ERA5\_\*.nc” files are generated normally.  
and I also set  
BULK\_FILES=1  
FORCING\_FILES=0 in the “run\_croco\_inter.bash”  
But when I execute: “run\_croco\_inter.bash”  
I get an error: “READ\_INP ERROR: Cannot find input file ‘croco\_frc.nc’.”

I assume that croco\_frc.nc should not be required if the bulk option is selected?

Also when I try to create and use forcing from ERA5 data instead of bulk by choosing:  
“makefrc = 1” and “makeblk = 0” in the crocotools\_param.m  
the “make\_ERA5.m” script still creates only the bulk files and not forcing ones… e.g:  
“croco\_blk\_ERA5\_Y2005M01.nc” instead of “croco\_frc\_ERA5\_Y2005M01.nc”

So trying to run the simulation ends up in the same error missing the croco\_frc.nc as above…

Thank you for any help.  
Konstantinos

---

<div class="post-metadata">

**Author:** ![AndresSepulveda](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/andressepulveda/32/262_2.png) [@AndresSepulveda](https://forum.croco-ocean.org/u/AndresSepulveda)\
**Post date:** [November 8, 2022, 6:48pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411/2 "2022-11-08T18:48:52Z")

</div>

Hi, does your model have tides?

If so, the tidal info is expected in the FRC file.

---

<div class="post-metadata">

**Author:** ![Konstantinos\_K](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/k/8797f3/32.png) [@Konstantinos\_K](https://forum.croco-ocean.org/u/Konstantinos_K)\
**Post date:** [November 8, 2022, 8:21pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411/3 "2022-11-08T20:21:21Z")

</div>

Thank you for the reply Andres,  
No, I have #undef TIDES in the cppdef.h file and also “add\_tides = 0;” in the “crocotools\_param.m” file during preprocessing…

---

<div class="post-metadata">

**Author:** ![Konstantinos\_K](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/k/8797f3/32.png) [@Konstantinos\_K](https://forum.croco-ocean.org/u/Konstantinos_K)\
**Post date:** [November 10, 2022, 1:48pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411/4 "2022-11-10T13:48:30Z")

</div>

It turns out that the reason the model was asking for the “croco\_frc.nc” file was the setting in the cppdefs.h file under the advanced settings for regional configuration where the default setting for BULK\_FLUX was turned off. So it needs to be # define BULK\_FLUX.

Also after correcting this setting, the model was giving a similar error, this time missing the “croco\_clm.nc” file. Again in the cppdefs.h file under the advanced settings the CLIMATOLOGY was on and it needed to be # undef CLIMATOLOGY.

These settings are buried under the advanced settings of the cppdefs.h file and it would be nice to be mentioned in the online manual since they are crucial to be set for each type of atmospheric forcing e.g. bulk/forcing/climatology.

Konstantinos
