Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How Do I Make Necessary Files for WRF-CTSM?

Status
Not open for further replies.

Carter4444

Carter Watson
New Member
Hello,
While I have plenty of WRF experience, I am relatively new to working with CTSM. Using ./mesh_maker, I was able to create an ESMF ungridded mesh file for my largest WRF domain, using the following command:
./mesh_maker --input $HOME/WRF/WRFV4.6.0/test/em_real/wrfinput_d01 --output $HOME/WRF/CTSM/tools/site_and_regional/esmfmeshfile.nc --lat XLAT --lon XLONG --verbose
From here, however, I am kind of lost, and have been searching for the past week for answers. Put simply, how can I create atm_mesh, lnd_mesh, lnd_domain_file, and fsurdat from an ESMF ungridded mesh file? I thought the next step in the process was to use ./gen_domain to create the lnd_domain_file from the ESMF mesh file, but it does not work, eliciting the attached errors. If anyone can provide some insight, I would greatly appreciate it--almost all the resources out there pertaining to WRF-CTSM are outdated. Thank you in advance!
 

Attachments

  • gen_domain error.txt
    1.6 KB · Views: 2

slevis

Moderator
Staff member
I hope this is a new enough model version to be using nuopc rather than mct. The most complete instructions that I hope you will find helpful exist here:

Please follow up if you find gaps in these instructions or if you find that they do not address what you're attempting.
 

Carter4444

Carter Watson
New Member
I hope this is a new enough model version to be using nuopc rather than mct. The most complete instructions that I hope you will find helpful exist here:

Please follow up if you find gaps in these instructions or if you find that they do not address what you're attempting.
Hello! I really appreciate the help! Some of this is certainly obsolete, but it definitely got me started and oriented me properly... so thanks! :) I am now finagling with the mksurfdata_esmf file, and have created a new post to address that. I would certainly appreciate your feedback if you have the time: https://bb.cgd.ucar.edu/cesm/threads/segmentation-fault-when-running-mksurfdata_esmf.9680/ (I assume this link works..? I think it's waiting for review.)
 
Status
Not open for further replies.
Top