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 can I read a new data from a new file in CAM5 with SE dynamic?

Jiangyj

Jiang Y. J.
New Member
I want to read a new data(such as PS) to the data structure of state%ps from a new file. How should I do? I tried to modify the subroutine read_restart_dynamics but it seems too difficult. Is there a easier way?
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
The file that contains initial data in is called "ncdata". You can set ncdata="/xxx/yyy.nc" in user_nl_cam to override the ncdata provided. It is important to note that ncdata files are specific for compset/grid/CAM version, so it would be good to start with the ncdata provided from your specific setup and create a copy of this file where you overwrite with the updated data that you want.

If you have further questions, there have been a number of bulletin board posts which talk about "ncdata". You can find them by using the search feature in the bulletin board.
 
Last edited:
Top