You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updates to allow creating transient landuse timeseries files going back to 1700.
43
+
- Fix an important bug on soil fields that was there since ctsm5.2.0. This results in mksurfdata_esmf now giving identical answers with a change in number of processors, as it should.
44
+
- Add in creation of ne0np4.POLARCAP.ne30x4 surface datasets.
45
+
- Add version to the surface datasets.
46
+
- Remove the --hires_pft option from mksurfdata_esmf as we don't have the datasets for it.
47
+
- Remove VIC fields from surface datasets.
48
+
49
+
New input datasets to mksurfdata_esmf:
50
+
======================================
51
+
52
+
- Updates in PFT/LAI/soil-color raw datasets (now from the TRENDY2024 timeseries that ends in 2023), as well as two fire datasets (AG fire, peatland), and the glacier behavior dataset.
@@ -2523,6 +2525,11 @@ sub setup_logic_surface_dataset {
2523
2525
if ($flanduse_timeseriesne"null" && &value_is_true($nl_flags->{'use_cndv'}) ) {
2524
2526
$log->fatal_error( "dynamic PFT's (setting flanduse_timeseries) are incompatible with dynamic vegetation (use_cndv=.true)." );
2525
2527
}
2528
+
# Turn test option off for NEON until after XML is interpreted
2529
+
my$test_files = $opts->{'test'};
2530
+
if ( &value_is_true($nl_flags->{'neon'})) {
2531
+
$opts->{'test'} = 0;
2532
+
}
2526
2533
#
2527
2534
# Always get the crop version of the datasets now and let the code turn it into the form desired
2528
2535
# Provided this isn't with FATES on
@@ -2548,7 +2555,7 @@ sub setup_logic_surface_dataset {
2548
2555
'use_crop'=>$nl_flags->{'use_crop'} );
2549
2556
}
2550
2557
#
2551
-
# Expand the XML variables for NEON cases so that NEONSITE will be used
2558
+
# Expand the XML variables for NEON cases so that NEONSITE will be used and test for existence
2552
2559
#
2553
2560
if ( &value_is_true($nl_flags->{'neon'}) ) {
2554
2561
my$fsurdat = $nl->get_value($var);
@@ -2557,6 +2564,9 @@ sub setup_logic_surface_dataset {
2557
2564
my$group = $definition->get_group_name($var);
2558
2565
$nl->set_variable_value($group, $var, $newval);
2559
2566
$log->verbose_message( "This is a NEON site and the fsurdat file selected is: $newval" );
2567
+
if ( $test_filesand ($newval !~ /null|none/) and (! -f remove_leading_and_trailing_quotes($newval) ) ) {
2568
+
$log->fatal_error("file not found: $var = $newval");
2569
+
}
2560
2570
}
2561
2571
}
2562
2572
}
@@ -2571,10 +2581,12 @@ sub setup_logic_initial_conditions {
2571
2581
#
2572
2582
# MUST BE AFTER: setup_logic_demand which is where flanduse_timeseries is set
2573
2583
# AFTER: setup_logic_irrigate which is where irrigate is set
2584
+
# AFTER: setup_logic_exice which is where use_excess_ice is set
2574
2585
my ($opts, $nl_flags, $definition, $defaults, $nl, $physv) = @_;
2575
2586
2576
2587
my$var = "finidat";
2577
2588
my$finidat = $nl->get_value($var);
2589
+
$nl_flags->{'excess_ice_on_finidat'} = "unknown";
2578
2590
if ( $nl_flags->{'clm_start_type'} =~ /cold/ ) {
2579
2591
if (defined$finidat ) {
2580
2592
$log->warning("setting $var (either explicitly in your user_nl_clm or by doing a hybrid or branch RUN_TYPE)\n is incomptable with using a cold start" .
@@ -2623,7 +2635,7 @@ sub setup_logic_initial_conditions {
$log->fatal_error("$useinitvar is being set for you but a $var was not found, so $useinitvar, init_interp_attributes, and finidat must not be set correctly for this configuration in the namelist_default file" );
2744
2757
}
2745
2758
}
2759
+
2760
+
# this check has to be here and not earlier since use_init_interp is set here and hillslope is already set above in setup_logic_hillslope
2761
+
if ( &value_is_true($nl->get_value($useinitvar)) && value_is_true($nl->get_value("use_hillslope")) ) {
2762
+
$log->warning("WARNING: You have set use_hillslope while $useinitvar is TRUE.\n This means all hillslope columns in a gridcell will read identical values" .
2763
+
" from initial conditions. If you are sure you want this behaviour:")
0 commit comments