-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update NUOPC/CMEPS driver #607
Changes from all commits
0338d04
99470ed
71d2ded
d46d691
183218a
10e7c20
ce8e5a9
8f0b5ee
7ac0e3d
80c9e6e
53715ea
7e43703
397e588
3bb3694
f41f1e9
e70d1ab
308a1d4
7848fdf
6982ee4
089f60f
6affdcf
b5a6058
415df0e
b4da8a6
239c7de
ad03424
73e7774
46fcfba
c762336
6bccf71
902e883
178693a
b4afd2e
3a1b88b
41855fd
aea1aa8
e4c989c
30a81cc
8ebdda9
27dd3b7
50bf856
6b4a277
93f0e86
f92bef3
4e8cc79
8ff4ee0
7211bc1
148ab08
916c6af
9bdb9ad
aa9ef50
8f37bfc
86b8dab
c084de4
793e7ce
88cc2fd
7fc1c30
1802396
964c860
1cf95cf
adbff47
b52362e
f106591
64c5569
f6040e1
bdf1a1f
5ecde75
d81a834
4d7ba5b
5dcfca8
5a0c13d
3e4d1e7
285985c
6d30789
8129aab
c360dc2
1a32f3e
ac617cd
23cdee7
1e4f42b
2515f77
41afe74
2a0f332
f773ef3
840e931
e48dd38
f59b5c3
66356cb
6ff987c
0f90ce1
1e4d393
66546ae
d78c3a3
1139e7f
68132e7
ff3783a
718a75d
3ee6fe2
2eca569
b52e91c
3bdc07b
508e9b9
a2ddbd9
56e1a83
51db2f9
3348230
8b5ac3a
a468b00
f29ab1b
4d3cc8d
519d339
74e7b58
bf548bd
ed3ef8d
b7f7b17
5eea430
a8b9c77
82d5d51
6faa645
70b5ec7
1355928
c8e43fb
d55da5b
7f34d46
b628606
3d94c9e
9d88d92
aa11007
a0f83fe
d1f2d15
d09c4ce
1900861
9df592e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -297,12 +297,10 @@ subroutine input_data | |
dumpfreq='y' ! restart frequency option | ||
dumpfreq_n = 1 ! restart frequency | ||
dump_last = .false. ! write restart on last time step | ||
restart = .false. ! if true, read restart files for initialization | ||
restart_dir = './' ! write to executable dir for default | ||
restart_file = 'iced' ! restart file name prefix | ||
restart_ext = .false. ! if true, read/write ghost cells | ||
restart_coszen = .false. ! if true, read/write coszen | ||
use_restart_time = .true. ! if true, use time info written in file | ||
pointer_file = 'ice.restart_file' | ||
restart_format = 'default' ! restart file format | ||
lcdf64 = .false. ! 64 bit offset for netCDF | ||
|
@@ -452,6 +450,8 @@ subroutine input_data | |
#ifndef CESMCOUPLED | ||
runid = 'unknown' ! run ID used in CESM and for machine 'bering' | ||
runtype = 'initial' ! run type: 'initial', 'continue' | ||
restart = .false. ! if true, read restart files for initialization | ||
use_restart_time = .true. ! if true, use time info written in file | ||
#endif | ||
|
||
! extra tracers | ||
|
@@ -1775,7 +1775,8 @@ subroutine input_data | |
grid_type /= 'rectangular' .and. & | ||
grid_type /= 'cpom_grid' .and. & | ||
grid_type /= 'regional' .and. & | ||
grid_type /= 'latlon' ) then | ||
grid_type /= 'latlon' .and. & | ||
grid_type /= 'setmask' ) then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The latlon grid functionality has changed here. We are using a new NUOPC mesh functionality. Are there other groups that use the 'latlon' grid? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to keep the latlon capability. F cases use the latlon feature in prescribed ice mode, I assume there may be other users of older version of CESM that need this. RASM certainly does. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't realize that RASM still did F compsets! We can certainly keep this. I can make this modification. |
||
if (my_task == master_task) write(nu_diag,*) subname//' ERROR: unknown grid_type=',trim(grid_type) | ||
abort_list = trim(abort_list)//":20" | ||
endif | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ module ice_grid | |
private | ||
public :: init_grid1, init_grid2, & | ||
t2ugrid_vector, u2tgrid_vector, & | ||
to_ugrid, to_tgrid, alloc_grid | ||
to_ugrid, to_tgrid, alloc_grid, makemask | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makemask is needed in the driver code |
||
|
||
character (len=char_len_long), public :: & | ||
grid_format , & ! file format ('bin'=binary or 'nc'=netcdf) | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is needed because CESM has restart flags set by driver.