How to change the output directory of mesh_mask_XXX files and ocean.output_XXX files?

Hi everyone! I am a beginner for NEMO. After running nemo successfully, a lot of files were generated, but these files are all placed in the current directory, which I don’t think it’s easy to find other files for me. Just like this:

I’ve referred to the previous two posts and changed the directory for some of the output files,

How to change output folder?
How to limit the output to a single NetCDF file

but I still don’t know how to change the output directory of mesh_mask files and ocean.output file

Does anyone can help me? Thank you very much.

It is impossible without modifying the code…
You can suppress the output of the meshmask files by setting ln_meshmask = .false. in your namelist.
You can suppress the output of the ocean.output_XXXX files by setting sn_cfctl%l_oceout = .false. in your namelist.

1 Like

Got it. Thank you very much!

1 Like