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 to add boundary condition when run clm4 off line

I'm running CLM4 off line for dust simulation. An important factor have to be provided as boundary dataset.
But I have no idea how to use boundary data in CLM4.

Any advice would be very appreciated.

Thanks a lot.

Weichun
 

slevis

Moderator
Staff member
Dear Weichun,

The clm reads various files to run, for example, the fsurdat file. To read a new boundary condition you could add it to the fsurdat file and add a bit of code in surfrdMod to read the new variable. Alternatively, you could read your data from a separate netCDF file using surfrdMod as a template. Or you could even read the new boundary condition from an ascii file. If you're not familiar how to read ascii data in fortran, then you need to read about that in a fortran book.

Sam
 
Dear Sam,

Million thanks for your quick reply.

My best wishes for you!

Weichun

slevis said:
Dear Weichun,

The clm reads various files to run, for example, the fsurdat file. To read a new boundary condition you could add it to the fsurdat file and add a bit of code in surfrdMod to read the new variable. Alternatively, you could read your data from a separate netCDF file using surfrdMod as a template. Or you could even read the new boundary condition from an ascii file. If you're not familiar how to read ascii data in fortran, then you need to read about that in a fortran book.

Sam
 
Top