How use different files as fluxes

Hi
I made grids for my basin. Now I am going to make fluxes and initial condition files. Unfortunately, there is no data on coads5 for my basin and I have to download each file separately from different websites like ECMWF or NCEP. I do this and replace these files on COADS5. However, after applying make _forcing command, I have faced errors because I think that I should change some codes. Unfortunately, I am not able to do this. Please help me for your interesting comments.

Hi,

It is a complex problem that involves a lot of coding.

Here is a solution in python to use ERA5 with ROMS. It might be a good stating point.

https://github.com/trondkr/ERA5-ROMS

We have some code to use WRF output files, if you are interested.

Hello Andres.

Considering the previous question and your answer, I would like to have the possibility to know a little more how to implement WRF outputs in the CROCO model. mainly which variables should be used and how to process them.

Any advice would be a great help, thank you very much.

Hi Andres,

I have a low-resolution (1/12 Croco, 1/6 WRF) CROCO-WRF coupled model running for learning purposes. I am very interested in using WRF to force CROCO on a high-resolution configuration. Could you please share the code for using WRF outputs to force CROCO?

Thank you!

Hi, (ADominguez)

For my own interest, I find this question quite engaging.

You are proposing to generate an FRC (atmospheric forcing) file from WRF and then provide it manually to CROCO. While this approach can work, it is generally more efficient and flexible to use coupling via MCT. With MCT, you can directly control the exchange of variables through the namcouple configuration, making the workflow more dynamic and easier to manage.

Within the CROCO OCEAN directory, there are six coupling-related files (e.g., cpl_prism_*.F). To introduce a new variable from WRF, you would typically need to modify the cpl_prism_get.F routine by adding the corresponding variable handling.

As far as I know, this specific functionality may not yet be fully implemented in CROCO. It would be a good idea to reach out to the CROCO developers for confirmation or guidance on extending the coupling interface.

Once I did that. but forget where I store this file in my server . If it’s urgent then contact CROCO developers otherwise after 15 the May I will recreate it and send you for testing. if you are interested then drop your email in messenger, I will send you.

Thank you.

Best regards

Hi Swapnil,
thanks for your reply; the functionality you mention is interesting. Right now, it is not urgent, I have to build the high-res configuration first.

I want to explore the offline option to avoid the computational costs of direct coupling in a high-res configuration, but it is worth considering.

Regards, Alex

Hi, still interested in the python code to create BLK files fro WRF?

Yes, I am very interested.

Please check this code

it was created by Osvaldo Artal

1 Like