forked from andrewsoong/lis-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE_NOTES.txt
2968 lines (1882 loc) · 98.6 KB
/
RELEASE_NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Land Information System (LIS) Release Notes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. admonition:: **Current release:**
Land Information System (LIS) Public Release 7.2r
5 May 2016
===========
CHANGE LOG:
===========
========================================================================
Land Information System (LIS) Public Release 7.2r (r6996:7551)
========================================================================
This is the initial release of the public version of LIS 7.2.
- Includes the NOAA Rapid Update Cycle (RUC) 3.7.1 land surface model
- Includes the ensemble streamflow prediction (ESP) conventional
forecasting runmode
- Includes additional parameter and uncertainty estimation support
* Differential evolution Markov chain (DEMC)
* Levenberg-Marquardt
* Random walk Markov chain monte carlo
- Includes additional radiative transfer model support
* Tau Omega
- Data assimilation is performed on the observation grid
- Supports HYMAP runoff data
- Supports ANSA snow depth observations
- Supports GCOMW AMSR2 L3 soil moisture observations
- Supports GCOMW AMSR2 L3 snow depth observations
- Supports NASA SMAP soil moisture observations
- Supports PILDAS soil moisture observations
- Supports SMMR snow depth observations
- Supports SMOS L2 soil moisture observations
- Supports SMOS NESDIS soil moisture observations
- Supports SSMI snow depth observations
- Supports AWAP precipitation data
- Supports LDT generated met forcing climatology data
- Supports generic ensemble forecast met forcing data
- Supports GRIB 2 formatted output
========================================================================
Land Information System (LIS) Public Release 7.1rp8 (r6602:6995)
========================================================================
This patch release includes updates r6602:6995.
- Update gaussian_t1534 testcase
- Correct pcp_flag
The pcp_flag was incorrectly set for var_index 1 (pds5=11), which is
temperature. It is now set for var_index 8 (pds5=59), which is
precipitaion rate.
- Revert back to real*4
- Port updated Gaussian support from LDT into LIS
- Port updated Gaussian support from LDT into LIS
- Rename gaussian_mod.F90 to gaussian_mod.F90.keep
I am no longer using this module. But I want to keep for reference.
- Update gaussian_t126 testcase
- Rename several gaussian_t126 testcase ctl files
- Significant bug fixes to GDAS reader.
(1) Shortened pds5, pds7, and pds16 arrays to remove entries for albedo. This
variable is not read in from GDAS, and the extra entries were cause
buffer overflows (10th entry to arrays declared with 9 elements).
(2) Fixed logic for loading GDAS terrain for lapse rate correction. Code
now recognises the combined "lapse-rate and slope-aspect" option.
- Updates for compiling with GCC compilers
- Merging Noah-MP revisions from development to public7.1.
1) Fixed the behavior of snowfall forcing. Noah-MP just
uses total precipitation as forcing, and depending on
the config option chosen, will determine how much of
the total precip is rainfall or snowfall.
2) Checked in fixes to prevent divide-by-zero crashes in
the code. These crashes are very rare, and for the
most part, are already in later versions of Noah-MP
as released by NCAR.
- Removed "stop" statement in file, which was
accidentally left in the code and used for testing
purposes.
- Updated the log error statement if a LIS config
file wanting to be read in is missing or typed
in correctly at the command line. The error
statement no longer tries to print to the log
diagnostic file (since that call to read in that
line is actually in the LIS config file).
- Fix bug regarding reading MERRA2 elevation
The init_merra2 routine now reads elevation whenever LIS_rc%met_ecor
is not "none".
- Add support to read MERRA2 elevation data for lapse rate correction
- Fixed minor bugs triggering warnings from Intel compiler.
This fixes:
* Warnings from surfacemodels/land/clm2/csm_share/clm2_shr_sys_mod.F90 about
unused argument, which were related to missing preprocessor flag.
* Warning from surfacemodels/land/mosaic/umd_sibalb.F90 about function with
undeclared return type.
These patches were submitted by Hamada Badr (JHU).
- BUG FIX: Added irrigation support to WRF-LIS coupling.
This code is already in the NU-WRF trunk and has been confirmed to work.
- Update gaussian_t1534 testcase
- Update MERRA-Land and MERRA2 testcases
- Changed default output directory permissions to a+rwx. Fixed code
indentation.
The calls to the POSIX C function 'mkdir' are changed to set the mode to
0777, which grants all permissions to user, group, and other as a first-guess.
The shell 'umask' command can be used to revoke permissions at run-time.
This gives the user more flexibility in setting the permissions of the
output directories created by LIS. Before this change, no permissions were
granted to group or other by the 'mkdir' call, and the umask setting could
not reverse this.
- ProTeX updates for LIS Reference Manual
- Minor update to the README_discover file as for the
make module is only:
lib/mkl-10.1.2.024
- Updated the entries in the README_discover
file to match more closely to the notes on
the Modeling Guru forum:
https://modelingguru.nasa.gov/community/atmospheric/lis/blog/2015/03/09/compiling-lis-7-on-sles11-sp3
========================================================================
Land Information System (LIS) Public Release 7.1rp7 (r6563:6601)
========================================================================
This patch release includes updates r6563:6601.
- Update internal testcases
I added and/or updated GrADS descriptor files for the
LIS domain and parameter data files.
- Merge NU-WRF into LIS public 7.1
I merged updates through 3774 from NU-WRF's
^/code/branches/features/v8_wrf371merge into LIS' ^/7/public7.1 branch.
These updates consist of:
* Bug fix: Set value for noah271_struc(n)%forcing_ch.
This was used in WRF-LIS coupling without initialization.
* Bug fix: Set value for noah32_struc(n)%forcing_ch.
This variable was used in WRF-LIS coupling without being initialized.
* Bug fix: Set value for noah33_struc(n)%forcing_ch.
This was used in WRF-LIS coupling without being initialized.
* Bug fix: noah36_struc(n)%forcing_ch now set to 1.
This variable was used in WRF-LIS coupling without being set.
* Copied GFORTRAN configure template from older lis directory.
- Merge tools/ldt/7/public7.1 into 7/public7.1
I manually merge r6594 from tools/ldt/7/public7.1 into 7/public7.1.
Add Jossy Jacob's mercator updates
This adds support to reproject latlon parameter data
onto a Mercator LIS running domain.
========================================================================
Land Information System (LIS) Public Release 7.1rp6 (r6541:6562)
========================================================================
This patch release includes updates r6541:6562.
These updates consist of:
- Correct output units for exchange coefficients
The units for the exchange coefficients specified in the calls to
register_dataEntry and LIS_diagnoseSurfaceOutputVar should be m/s.
The following variables were corrected.
| LIS_MOC_CH
| LIS_MOC_CM
| LIS_MOC_CHFORC
| LIS_MOC_CMFORC
| LIS_MOC_CHV
| LIS_MOC_CHB
| LIS_MOC_CHLEAF
| LIS_MOC_CHUC
| LIS_MOC_CHV2
| LIS_MOC_CHB2
- Return after setting soiltyp = -9999
- Register the reset_RFE2gdas routine
========================================================================
Land Information System (LIS) Public Release 7.1rp5 (r6519:6540)
========================================================================
This patch release includes updates r6519:6540.
These updates consist of:
- Fix ringtime in MERRA2 reader
The ringtime variable (which indicates when to read the next forcing file)
in the MERRA2 reader was a scalar value. This resulted in only the
outermost nest of a nested run updating its forcing data.
ringtime was moved into the merra2_struc to provide support for nesting.
- Fix ringtime in MERRA-Land reader
The ringtime variable (which indicates when to read the next forcing file)
in the MERRA-Land reader was a scalar value. This resulted in only the
outermost nest of a nested run updating its forcing data.
ringtime was moved into the merraland_struc to provide support for nesting.
- Fix registration of VIC PET output variables
I fixed the register_dataEntry calls for these variables
| LIS_MOC_VIC_PET_SATSOIL
| LIS_MOC_VIC_PET_H2OSURF
| LIS_MOC_VIC_PET_SHORT
| LIS_MOC_VIC_PET_TALL
| LIS_MOC_VIC_PET_NATVEG
| LIS_MOC_VIC_PET_VEGNOCR
When calling the register_dataEntry routine for a LSM variable, such as
LIS_MOC_VIC_PET_SATSOIL, add ``model_patch=.true.`` to the arguments. ::
call register_dataEntry(LIS_MOC_LSM_COUNT,LIS_MOC_VIC_PET_SATSOIL,&
LIS_histData(n)%head_lsm_list,&
n,2,ntiles,(/"kg/m2 ","kg/m2s"/),1,(/"-"/),&
2,1,1,model_patch=.true.)
========================================================================
Land Information System (LIS) Public Release 7.1rp4 (r6486:6518)
========================================================================
This patch release includes updates r6486:6518.
These updates consist of:
- Correct the upboundLognormal routine in PobjFunc_Mod.F90
This routine did not correctly set the mean and stddev variables.
========================================================================
Land Information System (LIS) Public Release 7.1rp3 (r6457:6485)
========================================================================
This patch release includes updates r6457:6485.
These updates consist of:
- Moved the LIS grid-mapping routine for being able
to subset select datasets (depending on data format)
to the core directory.
- Correct the way ESMF and MPI is initialized
LIS was calling ESMF_VMGet to determine whether it had a valid
virtual machine. However, calling ESMF_VMGet before calling ESMF_Initialize
leads to a crash on some systems.
I corrected the logic used to initialize ESMF and MPI.
- Remove the "if LIS_masterproc" checks from several of the write statements
- Remove check for USGS PET directory
Fortran does not specify how the inquire statement should work with
directories.
- Correct noah%rainf in noah271_f2t
When forcing snowfall is selected (LIS_FORC_Snowf%selectOpt == 1) snowfall
(snowf) should be added to noah%rainf. However, pcp+snowf was added to
noah%rainf.
- Implemented LIS endrun call when a USGS PET
directory or file are missing or are incorrect.
- Correct description strings for Rainf and TotalPrecip
- Fix the pcp metforcing field
The diagnoseForcingOutput routine was adding snow to the pcp field
(pcp = pcp + snow) whenever LIS_FORC_Snowf%selectOpt was 1. This is not
correct. The intention was to create total precip for output; however,
this updated the actual precip forcing field.
I have created a local variable, totpcp, for creating a total precip
field for output.
- Update RELEASE_NOTES for LIS 7.1rp2 public release
========================================================================
Land Information System (LIS) Public Release 7.1rp2 (r6396:6456)
========================================================================
This patch release includes updates r6396:6456.
These updates consist of:
- Open the "Diagnostic output file:" at the top of LIS_readConfig
- Add Hiroko Beaudoing's GDAS reader fix
Grid size for GDAS T170 resolution is currently at 0.7025 degree in
get_gdas.F90. They should be::
gridDesci(8) = -0.703125
gridDesci(9) = 0.703125
- Add Hiroko Beaudoing's Princeton reader fix
There was a mix up in the forcing index in Princeton data reader. It was
interpolating pressure field with the conserve routine instead of precip.
- Made first set of corrections to the LDT-generated
metforcing reader ("metForcGenerated"), which includes:
1) A fix for now to include forcing timesteps at a day or greater;
2) corrected the naming of "sum" to "acc" statistic for the time
interpolation routine.
More updates coming but this fixes some current issues with
this reader for now.
- Manually copy GPM/IMERG precipitation reader from 7/development
into 7/public7.1
- Manually copy UCSB CHIRPS v2.0 metforcing reader from 7/development
into 7/public7.1
- Correction for running LIS serially (without MPI)
- Update RELEASE_NOTES for LIS 7.1rp1 public release
========================================================================
Land Information System (LIS) Public Release 7.1rp1 (r5987:6395)
========================================================================
This patch release includes updates r5987:6395.
These updates consist of:
- Add the NOSA for LIS
- Add licenses for various components within LIS code
- Updates for compiling
- Add copyright notice
- Update existing copyright notice
- Correct an error regarding compiling with NetCDF3
- Merge NU-WRF into LIS public 7.1
I merged updates through 3418 from NU-WRF's
^/code/trunk branch into LIS' ^/7/public7.1 branch.
I forgot to include the cpl_wrf_noesmf support for Noah 3.6.
- Clean up noah271_setwrfexport.F90
I removed an unused variable.
- Merge NU-WRF into LIS public 7.1
I merged updates through 3418 from NU-WRF's
^/code/trunk branch into LIS' ^/7/public7.1 branch.
These updates consist of:
* Reintegrates v7_wrflis_fixes branch to trunk.
Captures WRF-LIS coupling fixes:
* Enables coupling to Noah 2.7.1, Noah 3.2, and Noah 3.6. Includes fixes
to Noah 2.7.1 and Noah 3.2 export code to handle patches, adds export
for Noah 3.6, and adds output support for all three LSMs.
* Now passing pure LWDOWN (w/o multiplying by surface emissivity) from WRF
to LIS.
* Changed Noah 2.7.1 to multiply LWDOWN by emissivity internally (already
done with newer Noah versions).
* Now copying LIS exported emissivity back to WRF array for input to
radiation.
- Correct ProTeX and LaTeX in the in-line documentation
- Clean up lis.config file
- Clean up LaTeX in lis.config file
- Update MERRA-Land testcase
- Update MERRA-Land documentation
- Update timing logic in MERRA-Land reader
I ported the updated timing logic from the MERRA2 reader to the
MERRA-Land reader.
- Update MERRA2 documentation
- Correct timing in MERRA2 reader when running at 15mn timestep
- Clean up logic MERRA2 reader regarding when to read tomorrow's file
- Update documentation to MERRA2 reader
- Lift the time logic out of the copying do-loop
I lifted the logic that determines which hour indices to use and which
bookends to use out of the do-loop that copies the local merraforc data
into the global LIS_forc%metdata arrays.
- Correct the merra2time1 and merra2time2 values
When running at an hourly time-step, where the LIS cycle time is on the hour,
(00:00z, 01:00z, ...) the MERRA2 reader was incorrectly using
weights of 1 and 0, when it should be using weights of 0.5 and 0.5.
- Correct the bookends for MERRA2 reader
The MERRA2 reader, when running at a 1-hour time-step, was choosing
the wrong hours to temporally interpolate between.
- Add a "timenow" check to prevent copying forcing data at every timestep
- Fix to MERRA2 reader
One statement was assigning forcing to LIS_forc(n,findex)%metdata1
when it should have used LIS_forc(n,findex)%metdata2.
- Corrected the definition of ROOTMOIST for CLSM-F2.5.
Previously, the output included the surface soil
moisture twice, as the second layer soil moisture
already includes the entire root zone (from the
top of soil down to the bottom of the root layer).
- Fixed the VIC-4.1.2.l LSM routing routines.
The previous version incorrectly used the output
interval in the conversion of the runoff units.
This fix now uses the model timestep.
The other commits included in this revision are
only very minor code clean-ups, and there are no
changes in the routing output for the other LSMs.
- Added direct output of Ground Water Storage (GWS)
in LIS for the CLSM-F2.5 and Noah-MP-3.6 LSMs.
Note that the output of TWS in Noah-MP.3.6 is also
changed in this version. Previously, this value
was only the ground water, but now is correctly
defined as the ground water, plus soil moisture,
plus SWE, plus canopy interception - to equal the
total Terrestrial Water Storage.
Also removed/refined a couple Noah-MP-3.6-specific
output variables.
- Updated the MERRA-Land metforcing reader in LIS
to correct a problem with it in running a model with
an hourly timestep.
Changes were made to the reader to accommodate this
correction, not affecting it when running with a
sub-hourly timestep.
- Updated the LIS 7.1 public test cases by removing
the obsolete parameter attribute tables (e.g.,
param_attribs.txt) where no longer needed and
updated the text in the README files to reflect
that removal, for each test case.
- Corrected the hourly timestep issue with the
MERRA-2 reader in LIS. Before, when running
with an hourly model timestep, a problem in the
code would cause a whole shift in a MERRA-2
daily file being read in.
This issue is now fixed, and the get_merra2
routine has been reorganized to support the
fix. Extensive testing has been performed
to make sure that any subhourly model timestep
(e.g., 15-min, 30-minute) were not impacted
much or not at all by the new code updates.
- Renamed "routing_nldas" directories to "routing",
as they will work with any router, not just the
NLDAS router.
- Update download scripts for the public testcases
- Update internal testcases
- A temporary update to the MERRA-Land reader,
get_merraland routine, has been incorporated
to check for when a LIS model timestep has been
selected to be at an hour or greater.
Currently there is an error running at an hourly
timestep and correction will be forthcoming
in future releases of LIS and LDT.
- Made update and a fix to the MERRA-2 metforcing
reader routines:
* The "merra2files" routine in get_merra2.F90
has been updated to reflect the latest production
stream of files (e.g., on discover and GES DISC),
and
* reflects updated/corrected MERRA-2 production
files, which changed the range of years for 300
and 400 year collections.
- Update lis.config documentation
- Update public testcases
- Update Gaussian T126 testcase
- bug fix to the pert readrestar routine
- fixed the perturbation restart reading routine in smoother DA mode
snow update scheme in CLSMDA
fixes to irrigation in ensemble mode
- Merge branches/jim/d7-mcw into 7/development
I reintegrated branches/jim/d7-mcw into 7/development.
This contains the preliminary MPI_COMM_WORLD related updates that
Rocky Dunlap and Dan Rosen made for their NUOPC work.
- Minor clean-up to the GMAO/GEOS5 seasonal forecast
forcing reader.
- 1. bug fixes related to the changes in the interpolation library
2. changed the local buffers to be different than the global ones in the MPI_ALLGATHER statements
- Correct length of ansa_filename
I also cleaned up some diagnostic log messages by adding trim around
references to ansa_filename.
- cleanups, renaming, fixes to HYMAP in GRACE-DA and offline modes
- Made several improvements and fixes to the Noah-MP-3.6 LSM:
1) Commented out unsupported Noah-MP-3.6 code to prevent crashes
caused by "floating invalid" and "floating divide by zero"
2) Added ability to use UMD vegetation with Noah-MP-3.6 LSM
3) Added routing to Noah-MP-3.6 LSM
4) Corrected output of LWnet - net longwave radiation at the surface
5) Added Rainf, Snowf, CanopInt, and SubSnow to output variables
6) Moved some Noah-3.6 log messages into the LIS logfile
7) Ensured all allocated variables are properly deallocated
8) Corrected typos and made small improvements to comments
- Added routing to the Noah-3.2 LSM.
- 1) Correct the output of units of Greenness in percentage.
2) For the below list of LSMs, the Greenness should be an
output of the LSM, rather than a simple output from the
input LDT file:
| CLSM F2.5
| HySSIB
| Noah.2.7.1
| Noah.3.2
| Noah.3.3
| Noah.3.6
| NoahMP.3.6
- Move the output of the LeafMass variable earlier,
so it's with the other Mass variables for dynamic
vegetation.
- Placed checks in for elevation, slope-aspect and
both corrections to see if all correct options
are selected by the user.
- Minor updates to the NLDAS-2 metforcing
reader, including replacing trim() in
if/then/else blocks, replaced some if/then
blocks with case select, and assigned LIS
universal undefined values to initialize
forcing read variables.
Improved NLDAS-2 rainfall and convective rainfall
fields around island/coastal areas, when
the dataset is downscaled to higher resolutions.
- Made additional fix to LIS_metforcing module to
make sure undefined values are not factored in
to wind-magnitude calculation for units: KM/DAY
- Minor fix to the Wind magnitude calculated
in the LIS_metforcingMod file: whenever
the u- or v-wind component is undefined,
the wind magnitude is set to undefined,
otherwise calculate it.
- added spatial downscaling capability (using precip climatology) for RFE2gdas
- bug fix to allow gridded fields to be output when min/max option is turned on
in the output attributes table and when the outputs are written in NetCDF
format.
- Minor updates/clean-up to the GDAS forcing files
- Added fixes to the ECMWF forcing reader, made by
Bailing Li and Hiroko Beaudoing.
A memory leak bug was fixed in read_ecmwf.F90 routine.
Furthermore, the read routine did not have right handling
of missing data, which was causing NaN in precipitation
and other fields. A fix for checking NaN's was originally
submitted, but actually the root of the problem turned out
to be the missing file handling issue.
The code has been checked and tested.
- Minor update to the LIS LSM irrigation plugin routine
- 1. bug fixes to the SMOS reader for CDF matching support and for running in parallel
2. bug fixes to the PILDAS forcing reader
3. cleanups to the Noah-MP config reading options
- LIS configuration file has been changed for LIS-Noah-MP interface.
- Some kludge fixes have been added to Noah-MP code.
Also, LIS-Noah-MP interface has been changed as the following:
(1) In NoahMP36_readcrd.F90
| "NOAHMP36 dveg_opt" has been replaced with "NOAHMP36 option of vegetation model"
| "NOAHMP36 crs_opt" has been replaced with "NOAHMP36 option of canopy stomatal resistance"
| "NOAHMP36 btr_opt" has been replaced with "NOAHMP36 option of soil moisture factor for stomatal resistance"
| "NOAHMP36 run_opt" has been replaced with "NOAHMP36 option of runoff and groundwater"
| "NOAHMP36 sfc_opt" has been replaced with "NOAHMP36 option of surface layer drag coefficient"
| "NOAHMP36 frz_opt" has been replaced with "NOAHMP36 option of supercooled liquid water"
| "NOAHMP36 inf_opt" has been replaced with "NOAHMP36 option of frozen soil permeability"
| "NOAHMP36 rad_opt" has been replaced with "NOAHMP36 option of radiation transfer"
| "NOAHMP36 alb_opt" has been replaced with "NOAHMP36 option of snow surface albedo"
| "NOAHMP36 snf_opt" has been replaced with "NOAHMP36 option of rainfall and snowfall"
| "NOAHMP36 tbot_opt" has been replaced with "NOAHMP36 option of lower boundary of soil temperature"
| "NOAHMP36 stc_opt" has been replaced with "NOAHMP36 option of snow and soil temperature time scheme"
Please modify your LIS Noah-MP configuration file accordingly.
(2) Configuration entry "NOAHMP36 st_flag" has been removed, set to 1 by default (1=soil, 2=lake)
(3) Configuration entry "NOAHMP36 sc_idx" has been replaced with "NOAHMP36 soil color index"
(4) Configuration entry "NOAHMP36 ice_flag" has been removed, set to 0 by default (no ice)
(5) Configuration entry "NOAHMP36 iz0tlnd" has been replaced with "NOAHMP36 CZIL option (iz0tlnd)"
(6) Configuration entry "NOAHMP36 sldpth" has been replaced with "NOAHMP36 soil layer thickness"
(7) Configuration entry "NOAHMP36 soil_tbl_name" has been replaced with "NOAHMP36 soil parameter table"
(8) Configuration entry "NOAHMP36 gen_tbl_name" has been replaced with "NOAHMP36 general parameter table"
(9) Configuration entry "NOAHMP36 noahmp_tbl_name" has been replaced with "NOAHMP36 MP parameter table"
(10) Configuration entry "NOAHMP36 landuse_tbl_name" has been replaced with "NOAHMP36 landuse parameter table"
(11) Configuration entry "NOAHMP36 nsoil" has been replaced with "NOAHMP36 number of soil layers"
(12) Configuration entry "NOAHMP36 nsnow" has been replaced with "NOAHMP36 number of snow layers"
(13) Configuration entry "NOAHMP36 landuse_scheme_name" has been removed. LIS reads it from LDT parameter file.
(14) Configuration entry "NOAHMP36 soil_scheme_name" has been removed. LIS reads it from LDT parameter file.
(15) Configuration entry "NOAHMP36 nslcats" has been removed. LIS reads it from LDT parameter file.
(16) Configuration entry "NOAHMP36 nlucats" has been removed. LIS reads it from LDT parameter file.
(17) Configuration entry "NOAHMP36 nslpcats" has been removed. LIS reads it from LDT parameter file.
(18) Configuration entry "NOAHMP36 urban_vegetype" has been removed. LIS reads it from LDT parameter file.
- Update ldt.config files for NLDAS2-e public testcase
- GDAS terrain correction
I implemented Hiroko Kato Beaudoing's GDAS elevation correction. The
longitudinal resolutions for the various T grids were rounded. Hiroko
corrected them with more precise values.
This resolves in issue regarding a slight discontinuity in the GDAS
elevation fields occurring near the prime meridian.
See Trac Ticket #126.
- Merge NU-WRF into LIS public 7.1
I merged updates through 3271 from NU-WRF's
^/code/branches/features/v7_wrflis_quilting branch into
LIS' ^/7/public7.1 branch.
These updates consist of:
* Accept MPI communicator from WRF
- Document the lisconfig_generic routine
- Remove LIS_DElayout
I removed LIS_DElayout. It was not used.
- Remove old lisconfig_* routines
- Combine the lisconfig_* routines into one
I combined the lisconfig_offline, lisconfig_coupled1, and
lisconfig_coupled2 routines into lisconfig_generic.
- Apply the diff file from Rocky Dunlap
- Remove the diff file from Rocky Dunlap
- Add the diff file from Rocky Dunlap
This contains the preliminary MPI_COMM_WORLD related updates that
Rocky Dunlap and Dan Rosen made for their NUOPC work.
- Add VIIRS GVF testcase
- Add sport.ctl file to SPoRT GVF testcase
- Add SPoRT GVF testcase
- Add support to diagnose greenness in units of percentage
- Update ldt.config files for the wrfout testcase
- Reformat text
- Add a nest loop to the metForcGen_interp_finalize routine
- Correct call to read_gfs
The argument findex was missing from the call.
Thanks to Jon Case.
- Add additional GrADS descriptor files to the Public GeoWRSI2 testcase
- Update the merra2 testcase
- Use \\newline instead of a double backslash
GNU's cpp treats a backslash character at the end of a line as indicating
line continuation; i.e., the backslash at the end of a line escapes the
end-of-line marker.
LaTeX uses a double backslash, \\\\, to indicate a new line. Double
backslashes were used throughout the code in the ProTeX (LaTeX) in-line
documentation. I replaced the double backslashes with the new line
command, \newline.
A misplaced backslash character could cause the line following the
backslash to be eaten. In the following test program (saved as t.F90),
GNU's cpp would see line 4 as ::
!print*,"hello "
::
program test
! I want to see 'hello world'
! but this program prints only 'world'
!\
print*,"hello "
print*,"world"
end program test
- Correct the assignment of the veg_fracs array (in VIC 4.1.1 and 4.1.2.l)
The veg_fracs array is assigned from the LIS_LMLC%landcover array,
which is longer than the veg_fracs array. I replaced the implicit extents
indicator, :, with an explicit do-loop to filter out water points.
- Add check for LIS_ARCH=linux_gfortran
- Remove "warning: implicit declaration of function" messages
When using functions from the C standard library, you must include
the appropriate standard header in the source code.
Examples:
For strcpy, strcmp, and strlen, you must include::
#include <string.h>
For puts, perror, and printf, you must include::
#include <stdio.h>
For exit, abs, malloc, free, you must include::
#include <stdlib.h>
- Adjust logic in geowrsi2_readInputSettings.F90 to prevent gCoords from
being deallocated twice
- Use the "L" edit descriptor for logical variables
- Use .false./.true. to set a logical variable
Logical variables should be set using .false. or .true. values.
Do not use 0 or 1.
Bad::
gCalcSOSmode = 0
Good::
gCalcSOSmode = .false.
- Bug fix: correct call to reshape function
- Update big/little endian flags for compiling with gfortran
- Compile with gfortran
gfortran raised several errors. Please read the rest of this commit
message for examples of the errors and corrective actions.
Example 1.:
Message:
::
../core/LIS_histDataMod.F90:1523.33:
n,2,ntiles,(/"kg/m2","mm"/),1,(/"-"/),1,1,1,&
1
Error: Different CHARACTER lengths (5/2) in array constructor at (1)
Correction:
Strings within an array constructor must have the same length. Use spaces
to pad the shorter strings.
Bad::
call register_dataEntry(LIS_MOC_LSM_COUNT,LIS_MOC_SNOWICE,&
LIS_histData(n)%head_lsm_list,&
n,2,ntiles,(/"kg/m2","mm"/),1,(/"-"/),1,1,1,&
model_patch=.true.)
Good::
call register_dataEntry(LIS_MOC_LSM_COUNT,LIS_MOC_SNOWICE,&
LIS_histData(n)%head_lsm_list,&
n,2,ntiles,(/"kg/m2","mm "/),1,(/"-"/),1,1,1,&
model_patch=.true.)
Example 2.:
Message:
::
../rtms/LIS-CMEM3/pe/CMEM3_set_pedecvars.F90:88.39:
real :: vdata(LIS_rc%npatch(n,LIS_rc%lsm_index))
1
Error: Symbol 'n' is used before it is typed at (1)
Correction:
Variables must be declared before they are used. Here n must be declared
before vdata because vdata references n.
Bad::
implicit none
type(ESMF_State) :: DEC_State
character*100 :: vname
real :: vdata(LIS_rc%npatch(n,LIS_rc%lsm_index))
integer :: n
Good::
implicit none
integer :: n
type(ESMF_State) :: DEC_State
character*100 :: vname
real :: vdata(LIS_rc%npatch(n,LIS_rc%lsm_index))
Example 3.:
Message:
::
../surfacemodels/land/noahmp.3.6/NoahMP36_readrst.F90:27:0: error: token "." is not valid in preprocessor expressions
#if (defined USE_NETCDF3 .OR. defined USE_NETCDF4)
^
Correction:
Do not Fortran syntax for logical operators in preprocessor statements.