Issue with saving output files in different directory in


I’m trying to organize my files by keeping the input files in one directory and saving the output files (croco_his, croco_avg) in a different directory. However, when I change only the paths in the file, I encounter an error:

"ERROR in def_his/avg: Cannot create netCDF file: /storage/output/

WRT_HIS ERROR: Cannot synchronize/close history netCDF file."

I would appreciate any assistance with this issue. Thank you.

Are you sure the output directory exists ?

ls /storage/output/

and see if it exists