From 66fd8a1adff4a6a1dff2eeb271b160bff8216a49 Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Thu, 8 Dec 2022 19:16:33 +0000 Subject: [PATCH 1/7] read in six new winter weather diags, allocate, deallocate,and add new vrbs (3 of them), plus for continuous fields modify timestamp for FV3R and GFS and add fields to the GFS and fv3lam xml and flat files. --- ..._File_processor_POST_FlatFile.log.20221208 | 144 +++++++++++ parm/fv3lam.xml | 30 +++ parm/fv3lam_rrfs.xml | 30 +++ parm/post_avblflds.xml | 31 +++ parm/postcntrl_gfs.xml | 30 +++ parm/postcntrl_gfs_f00.xml | 30 +++ parm/postcntrl_gfs_f00_two.xml | 30 +++ parm/postcntrl_gfs_two.xml | 30 +++ parm/postxconfig-NT-GFS-F00-TWO.txt | 224 +++++++++++++++++- parm/postxconfig-NT-GFS-F00.txt | 224 +++++++++++++++++- parm/postxconfig-NT-GFS-TWO.txt | 224 +++++++++++++++++- parm/postxconfig-NT-GFS.txt | 224 +++++++++++++++++- parm/postxconfig-NT-fv3lam.txt | 224 +++++++++++++++++- parm/postxconfig-NT-fv3lam_rrfs.txt | 224 +++++++++++++++++- sorc/ncep_post.fd/ALLOCATE_ALL.f | 3 + sorc/ncep_post.fd/DEALLOCATE.f | 3 + sorc/ncep_post.fd/INITPOST_NETCDF.f | 32 ++- sorc/ncep_post.fd/SURFCE.f | 156 ++++++++++++ sorc/ncep_post.fd/VRBLS2D_mod.f | 1 + 19 files changed, 1887 insertions(+), 7 deletions(-) create mode 100644 parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 diff --git a/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 b/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 new file mode 100644 index 000000000..5f5adfbf6 --- /dev/null +++ b/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 @@ -0,0 +1,144 @@ +173403: [00138] Begin PostXMLPreprocessor + +173403: [00140] XML Configuration file read successfully. + +173412: [00162] Successfully process input XML files. + +173412: [00173] Flat file is new generated. + +173412: [00138] Begin PostXMLPreprocessor + +173412: [00140] XML Configuration file read successfully. + +173413: [00162] Successfully process input XML files. + +173413: [00173] Flat file is new generated. + +173413: [00138] Begin PostXMLPreprocessor + +173413: [00140] XML Configuration file read successfully. + +173416: [00162] Successfully process input XML files. + +173416: [00173] Flat file is new generated. + +173416: [00138] Begin PostXMLPreprocessor + +173416: [00140] XML Configuration file read successfully. + +173423: [00162] Successfully process input XML files. + +173423: [00173] Flat file is new generated. + +173423: [00138] Begin PostXMLPreprocessor + +173423: [00140] XML Configuration file read successfully. + +173428: [00162] Successfully process input XML files. + +173428: [00173] Flat file is new generated. + +173428: [00138] Begin PostXMLPreprocessor + +173428: [00140] XML Configuration file read successfully. + +173429: [00162] Successfully process input XML files. + +173429: [00173] Flat file is new generated. + +173429: [00138] Begin PostXMLPreprocessor + +173429: [00140] XML Configuration file read successfully. + +173437: [00162] Successfully process input XML files. + +173437: [00173] Flat file is new generated. + +173437: [00138] Begin PostXMLPreprocessor + +173437: [00140] XML Configuration file read successfully. + +173440: [00162] Successfully process input XML files. + +173440: [00173] Flat file is new generated. + +173440: [00138] Begin PostXMLPreprocessor + +173440: [00140] XML Configuration file read successfully. + +173445: [00162] Successfully process input XML files. + +173445: [00173] Flat file is new generated. + +173445: [00138] Begin PostXMLPreprocessor + +173445: [00140] XML Configuration file read successfully. + +173506: [00162] Successfully process input XML files. + +173506: [00173] Flat file is new generated. + +173506: [00138] Begin PostXMLPreprocessor + +173506: [00140] XML Configuration file read successfully. + +173509: [00162] Successfully process input XML files. + +173509: [00173] Flat file is new generated. + +173509: [00138] Begin PostXMLPreprocessor + +173509: [00140] XML Configuration file read successfully. + +173512: [00162] Successfully process input XML files. + +173512: [00173] Flat file is new generated. + +173512: [00138] Begin PostXMLPreprocessor + +173512: [00140] XML Configuration file read successfully. + +173525: [00162] Successfully process input XML files. + +173525: [00173] Flat file is new generated. + +173525: [00138] Begin PostXMLPreprocessor + +173525: [00140] XML Configuration file read successfully. + +173533: [00162] Successfully process input XML files. + +173533: [00173] Flat file is new generated. + +173533: [00138] Begin PostXMLPreprocessor + +173533: [00140] XML Configuration file read successfully. + +173557: [00162] Successfully process input XML files. + +173557: [00173] Flat file is new generated. + +173557: [00138] Begin PostXMLPreprocessor + +173557: [00140] XML Configuration file read successfully. + +173605: [00162] Successfully process input XML files. + +173605: [00173] Flat file is new generated. + +173605: [00138] Begin PostXMLPreprocessor + +173605: [00140] XML Configuration file read successfully. + +173607: [00162] Successfully process input XML files. + +173607: [00173] Flat file is new generated. + +173607: [00138] Begin PostXMLPreprocessor + +173607: [00140] XML Configuration file read successfully. + +173609: [00162] Successfully process input XML files. + +173609: [00173] Flat file is new generated. + diff --git a/parm/fv3lam.xml b/parm/fv3lam.xml index 2e78a58a5..33eabd460 100755 --- a/parm/fv3lam.xml +++ b/parm/fv3lam.xml @@ -740,6 +740,36 @@ -4.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 6.0 + + + + BUCKET_FRAIN_ON_SURFACE + 6.0 + + + + ACM_SNOWFALL_ON_SURFACE + 6.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 6.0 + + ACM_NCPCP_ON_SURFACE NCPCP diff --git a/parm/fv3lam_rrfs.xml b/parm/fv3lam_rrfs.xml index b96977d87..2cc9d24fd 100755 --- a/parm/fv3lam_rrfs.xml +++ b/parm/fv3lam_rrfs.xml @@ -687,6 +687,36 @@ -4.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 6.0 + + + + BUCKET_FRAIN_ON_SURFACE + 6.0 + + + + ACM_SNOWFALL_ON_SURFACE + 6.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 6.0 + + ACM_NCPCP_ON_SURFACE NCPCP diff --git a/parm/post_avblflds.xml b/parm/post_avblflds.xml index 68592827d..56b317777 100755 --- a/parm/post_avblflds.xml +++ b/parm/post_avblflds.xml @@ -8143,5 +8143,36 @@ surface 3.0 + + + 1003 + BUCKET_FRAIN_ON_SURFACE + tmpl4_8 + FRZR + NCEP + ACM + surface + 4.0 + + + + 1004 + ACM_SNOWFALL_ON_SURFACE + tmpl4_8 + TSNOWP + ACM + surface + 4.0 + + + + 1005 + BUCKET_SNOWFALL_ON_SURFACE + tmpl4_8 + TSNOWP + ACM + surface + 4.0 + diff --git a/parm/postcntrl_gfs.xml b/parm/postcntrl_gfs.xml index 9d79cdbe9..8ad9f86ea 100755 --- a/parm/postcntrl_gfs.xml +++ b/parm/postcntrl_gfs.xml @@ -1159,6 +1159,36 @@ 3.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 4.0 + + + + BUCKET_FRAIN_ON_SURFACE + 4.0 + + + + ACM_SNOWFALL_ON_SURFACE + 4.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 4.0 + + AER_OPT_GFS_at550 9.0 diff --git a/parm/postcntrl_gfs_f00.xml b/parm/postcntrl_gfs_f00.xml index 3473ccdb9..c8e55f13d 100755 --- a/parm/postcntrl_gfs_f00.xml +++ b/parm/postcntrl_gfs_f00.xml @@ -907,6 +907,36 @@ 3.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 4.0 + + + + BUCKET_FRAIN_ON_SURFACE + 4.0 + + + + ACM_SNOWFALL_ON_SURFACE + 4.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 4.0 + + AER_OPT_GFS_at550 9.0 diff --git a/parm/postcntrl_gfs_f00_two.xml b/parm/postcntrl_gfs_f00_two.xml index 3d5df294f..9b6acbc5e 100755 --- a/parm/postcntrl_gfs_f00_two.xml +++ b/parm/postcntrl_gfs_f00_two.xml @@ -907,6 +907,36 @@ 3.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 4.0 + + + + BUCKET_FRAIN_ON_SURFACE + 4.0 + + + + ACM_SNOWFALL_ON_SURFACE + 4.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 4.0 + + AER_OPT_GFS_at550 9.0 diff --git a/parm/postcntrl_gfs_two.xml b/parm/postcntrl_gfs_two.xml index c3edbb94f..2c8613c6f 100755 --- a/parm/postcntrl_gfs_two.xml +++ b/parm/postcntrl_gfs_two.xml @@ -1159,6 +1159,36 @@ 3.0 + + ACM_GRAUPEL_ON_SURFACE + 6.0 + + + + BUCKET_GRAUPEL_ON_SURFACE + 6.0 + + + + ACM_FRAIN_ON_SURFACE + 4.0 + + + + BUCKET_FRAIN_ON_SURFACE + 4.0 + + + + ACM_SNOWFALL_ON_SURFACE + 4.0 + + + + BUCKET_SNOWFALL_ON_SURFACE + 4.0 + + AER_OPT_GFS_at550 9.0 diff --git a/parm/postxconfig-NT-GFS-F00-TWO.txt b/parm/postxconfig-NT-GFS-F00-TWO.txt index 229c1f52e..8cfc367f4 100644 --- a/parm/postxconfig-NT-GFS-F00-TWO.txt +++ b/parm/postxconfig-NT-GFS-F00-TWO.txt @@ -1,6 +1,6 @@ 2 47 -156 +162 GFSPRS 0 ncep_nco @@ -5567,6 +5567,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? 600 AER_OPT_GFS_at550 ? diff --git a/parm/postxconfig-NT-GFS-F00.txt b/parm/postxconfig-NT-GFS-F00.txt index bf2548acd..b793a506b 100644 --- a/parm/postxconfig-NT-GFS-F00.txt +++ b/parm/postxconfig-NT-GFS-F00.txt @@ -1,5 +1,5 @@ 1 -156 +162 GFSPRS 0 ncep_nco @@ -5566,6 +5566,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? 600 AER_OPT_GFS_at550 ? diff --git a/parm/postxconfig-NT-GFS-TWO.txt b/parm/postxconfig-NT-GFS-TWO.txt index ea053e5f7..16ae86598 100644 --- a/parm/postxconfig-NT-GFS-TWO.txt +++ b/parm/postxconfig-NT-GFS-TWO.txt @@ -1,6 +1,6 @@ 2 112 -203 +209 GFSPRS 0 ncep_nco @@ -7306,6 +7306,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? 600 AER_OPT_GFS_at550 ? diff --git a/parm/postxconfig-NT-GFS.txt b/parm/postxconfig-NT-GFS.txt index faf8aa0c3..ee9f0db08 100644 --- a/parm/postxconfig-NT-GFS.txt +++ b/parm/postxconfig-NT-GFS.txt @@ -1,5 +1,5 @@ 1 -203 +209 GFSPRS 0 ncep_nco @@ -7305,6 +7305,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +4.0 +0 +0 +0 +? +? +? 600 AER_OPT_GFS_at550 ? diff --git a/parm/postxconfig-NT-fv3lam.txt b/parm/postxconfig-NT-fv3lam.txt index 0e0401d86..a8fa39173 100644 --- a/parm/postxconfig-NT-fv3lam.txt +++ b/parm/postxconfig-NT-fv3lam.txt @@ -1,6 +1,6 @@ 2 219 -258 +264 PRSLEV 32769 ncep_nco @@ -3643,6 +3643,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? 34 ACM_NCPCP_ON_SURFACE ? diff --git a/parm/postxconfig-NT-fv3lam_rrfs.txt b/parm/postxconfig-NT-fv3lam_rrfs.txt index fb436bdd7..fc3dae7da 100644 --- a/parm/postxconfig-NT-fv3lam_rrfs.txt +++ b/parm/postxconfig-NT-fv3lam_rrfs.txt @@ -1,6 +1,6 @@ 2 241 -283 +289 PRSLEV 32769 ncep_nco @@ -3421,6 +3421,228 @@ surface ? ? ? +746 +ACM_GRAUPEL_ON_SURFACE +? +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +775 +BUCKET_GRAUPEL_ON_SURFACE +bucket graupel precipitation on surface +1 +tmpl4_8 +FROZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +782 +ACM_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1003 +BUCKET_FRAIN_ON_SURFACE +? +1 +tmpl4_8 +FRZR +NCEP +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1004 +ACM_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? +1005 +BUCKET_SNOWFALL_ON_SURFACE +? +1 +tmpl4_8 +TSNOWP +? +ACM +surface +0 +? +0 +? +? +0 +? +0 +? +? +? +0 +0.0 +0 +0.0 +? +0 +0.0 +0 +0.0 +1 +6.0 +0 +0 +0 +? +? +? 34 ACM_NCPCP_ON_SURFACE ? diff --git a/sorc/ncep_post.fd/ALLOCATE_ALL.f b/sorc/ncep_post.fd/ALLOCATE_ALL.f index 27ee6c0dc..06796530e 100644 --- a/sorc/ncep_post.fd/ALLOCATE_ALL.f +++ b/sorc/ncep_post.fd/ALLOCATE_ALL.f @@ -580,6 +580,9 @@ SUBROUTINE ALLOCATE_ALL() allocate(snow_bucket1(ista_2l:iend_2u,jsta_2l:jend_2u)) allocate(graup_bucket(ista_2l:iend_2u,jsta_2l:jend_2u)) allocate(graup_bucket1(ista_2l:iend_2u,jsta_2l:jend_2u)) + allocate(frzrn_bucket(ista_2l:iend_2u,jsta_2l:jend_2u)) + allocate(snow_acm(ista_2l:iend_2u,jsta_2l:jend_2u)) + allocate(snow_bkt(ista_2l:iend_2u,jsta_2l:jend_2u)) allocate(qrmax(ista_2l:iend_2u,jsta_2l:jend_2u)) allocate(tmax(ista_2l:iend_2u,jsta_2l:jend_2u)) allocate(snownc(ista_2l:iend_2u,jsta_2l:jend_2u)) diff --git a/sorc/ncep_post.fd/DEALLOCATE.f b/sorc/ncep_post.fd/DEALLOCATE.f index a419e9f17..5a0889b0e 100644 --- a/sorc/ncep_post.fd/DEALLOCATE.f +++ b/sorc/ncep_post.fd/DEALLOCATE.f @@ -383,6 +383,9 @@ SUBROUTINE DE_ALLOCATE deallocate(snow_bucket1) deallocate(graup_bucket) deallocate(graup_bucket1) + deallocate(frzrn_bucket) + deallocate(snow_acm) + deallocate(snow_bkt) deallocate(qrmax) deallocate(tmax) deallocate(snownc) diff --git a/sorc/ncep_post.fd/INITPOST_NETCDF.f b/sorc/ncep_post.fd/INITPOST_NETCDF.f index 673871a35..a414d748b 100644 --- a/sorc/ncep_post.fd/INITPOST_NETCDF.f +++ b/sorc/ncep_post.fd/INITPOST_NETCDF.f @@ -50,7 +50,8 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d) smstot, ivgtyp, isltyp, sfcevp, sfcexc, acsnow, acsnom, sst, thz0, qz0, & uz0, vz0, ptop, htop, pbot, hbot, ptopl, pbotl, ttopl, ptopm, pbotm, ttopm, & ptoph, pboth, pblcfr, ttoph, runoff, tecan, tetran, tedir, twa, maxtshltr, & - mintshltr, maxrhshltr, fdnsst, & + mintshltr, maxrhshltr, fdnsst, acgraup, graup_bucket, acfrain, frzrn_bucket, & + snow_acm, snow_bkt, & minrhshltr, dzice, smcwlt, suntime, fieldcapa, htopd, hbotd, htops, hbots, & cuppt, dusmass, ducmass, dusmass25, ducmass25, aswintoa,rel_vort_maxhy1, & maxqshltr, minqshltr, acond, sr, u10h, v10h,refd_max, w_up_max, w_dn_max, & @@ -2260,6 +2261,35 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d) call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,SFCEXC) +! accumulated snowfall + VarName='acsnow' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,SNOW_ACM) +! snowfall bucket + VarName='acsnowb' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,SNOW_BKT) + +! accumulated graupel/sleet + VarName='acgraup' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,acgraup) + +! graupel/sleet bucket + VarName='acgraupb' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,graup_bucket) + +! accumulated freezing rain + VarName='acfrzrn' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,acfrain) + +! freezing rain bucket + VarName='acfrzrnb' + call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & + spval,VarName,frzrn_bucket) + ! aerodynamic conductance VarName='acond' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & diff --git a/sorc/ncep_post.fd/SURFCE.f b/sorc/ncep_post.fd/SURFCE.f index d2fd2fc26..8fbd0e029 100644 --- a/sorc/ncep_post.fd/SURFCE.f +++ b/sorc/ncep_post.fd/SURFCE.f @@ -93,6 +93,7 @@ SUBROUTINE SURFCE acond,maxqshltr,minqshltr,avgpotevp,AVGPREC_CONT, & AVGCPRATE_CONT,sst,pcp_bucket1,rainnc_bucket1, & snow_bucket1, rainc_bucket1, graup_bucket1, & + frzrn_bucket, snow_acm, snow_bkt, & shdmin, shdmax, lai, ch10,cd10,landfrac,paha,pahi, & tecan,tetran,tedir,twa use soil, only: stc, sllevel, sldpth, smc, sh2o @@ -3460,6 +3461,54 @@ SUBROUTINE SURFCE enddo endif ENDIF + +! ACCUMULATED SNOWFALL. + IF (IGET(1004)>0) THEN +!$omp parallel do private(i,j) + DO J=JSTA,JEND + DO I=ISTA,IEND + GRID1(I,J) = SNOW_ACM(I,J) + ENDDO + ENDDO + ID(1:25) = 0 + ITPREC = NINT(TPREC) +!mp + if (ITPREC /= 0) then + IFINCR = MOD(IFHR,ITPREC) + IF(IFMIN >= 1)IFINCR= MOD(IFHR*60+IFMIN,ITPREC*60) + else + IFINCR = 0 + endif +!mp + ID(18) = 0 + ID(19) = IFHR + IF(IFMIN >= 1)ID(19)=IFHR*60+IFMIN + ID(20) = 4 + IF (IFINCR==0) THEN + ID(18) = IFHR-ITPREC + ELSE + ID(18) = IFHR-IFINCR + IF(IFMIN >= 1)ID(18)=IFHR*60+IFMIN-IFINCR + ENDIF + IF (ID(18)<0) ID(18) = 0 + if(grib=='grib2') then + cfld=cfld+1 + fld_info(cfld)%ifld=IAVBLFLD(IGET(1004)) + fld_info(cfld)%ntrange=1 + fld_info(cfld)%tinvstat=IFHR-ID(18) + if(MODELNAME=='FV3R' .or. MODELNAME=='GFS')fld_info(cfld)%tinvstat=IFHR +! print*,'id(18),tinvstat in acgraup= ',ID(18),fld_info(cfld)%tinvstat +!$omp parallel do private(i,j,ii,jj) + do j=1,jend-jsta+1 + jj = jsta+j-1 + do i=1,iend-ista+1 + ii = ista+i-1 + datapd(i,j,cfld) = GRID1(ii,jj) + enddo + enddo + endif + ENDIF + ! ! ACCUMULATED SNOW MELT. IF (IGET(121)>0) THEN @@ -4022,6 +4071,113 @@ SUBROUTINE SURFCE endif ENDIF +! 'BUCKET FREEZING RAIN ' + IF (IGET(1003)>0.) THEN +!$omp parallel do private(i,j) + DO J=JSTA,JEND + DO I=ISTA,IEND + GRID1(I,J) = FRZRN_BUCKET(I,J) + ENDDO + ENDDO + ID(1:25) = 0 + ITPREC = NINT(TPREC) +!mp + if (ITPREC /= 0) then + IFINCR = MOD(IFHR,ITPREC) + IF(IFMIN >= 1)IFINCR= MOD(IFHR*60+IFMIN,ITPREC*60) + else + IFINCR = 0 + endif +!mp + ID(18) = 0 + ID(19) = IFHR + IF(IFMIN >= 1)ID(19)=IFHR*60+IFMIN + ID(20) = 4 + IF (IFINCR==0) THEN + ID(18) = IFHR-ITPREC + ELSE + ID(18) = IFHR-IFINCR + IF(IFMIN >= 1)ID(18)=IFHR*60+IFMIN-IFINCR + ENDIF + IF (ID(18)<0) ID(18) = 0 +! print*,'maxval BUCKET FREEZING RAIN: ', maxval(GRID1) + if(grib=='grib2') then + cfld=cfld+1 + fld_info(cfld)%ifld=IAVBLFLD(IGET(1003)) + fld_info(cfld)%ntrange=1 + fld_info(cfld)%tinvstat=IFHR-ID(18) +! if(ITPREC>0) then +! fld_info(cfld)%ntrange=(IFHR-ID(18))/ITPREC +! else +! fld_info(cfld)%ntrange=0 +! endif +! fld_info(cfld)%tinvstat=ITPREC +! if(fld_info(cfld)%ntrange==0) then +! if (ifhr==0) then +! fld_info(cfld)%tinvstat=0 +! else +! fld_info(cfld)%tinvstat=1 +! endif +! fld_info(cfld)%ntrange=1 +! end if +!$omp parallel do private(i,j,ii,jj) + do j=1,jend-jsta+1 + jj = jsta+j-1 + do i=1,iend-ista+1 + ii = ista+i-1 + datapd(i,j,cfld) = GRID1(ii,jj) + enddo + enddo + endif + ENDIF + +! 'BUCKET SNOWFALL ' + IF (IGET(1005)>0.) THEN +!$omp parallel do private(i,j) + DO J=JSTA,JEND + DO I=ISTA,IEND + GRID1(I,J) = SNOW_BKT(I,J) + ENDDO + ENDDO + ID(1:25) = 0 + ITPREC = NINT(TPREC) +!mp + if (ITPREC /= 0) then + IFINCR = MOD(IFHR,ITPREC) + IF(IFMIN >= 1)IFINCR= MOD(IFHR*60+IFMIN,ITPREC*60) + else + IFINCR = 0 + endif +!mp + ID(18) = 0 + ID(19) = IFHR + IF(IFMIN >= 1)ID(19)=IFHR*60+IFMIN + ID(20) = 4 + IF (IFINCR==0) THEN + ID(18) = IFHR-ITPREC + ELSE + ID(18) = IFHR-IFINCR + IF(IFMIN >= 1)ID(18)=IFHR*60+IFMIN-IFINCR + ENDIF + IF (ID(18)<0) ID(18) = 0 +! print*,'maxval BUCKET FREEZING RAIN: ', maxval(GRID1) + if(grib=='grib2') then + cfld=cfld+1 + fld_info(cfld)%ifld=IAVBLFLD(IGET(1005)) + fld_info(cfld)%ntrange=1 + fld_info(cfld)%tinvstat=IFHR-ID(18) +!$omp parallel do private(i,j,ii,jj) + do j=1,jend-jsta+1 + jj = jsta+j-1 + do i=1,iend-ista+1 + ii = ista+i-1 + datapd(i,j,cfld) = GRID1(ii,jj) + enddo + enddo + endif + ENDIF + + ! ERIC JAMES: 10 JUN 2021 -- adding precip comparison to FFG ! thresholds. 913 is for 1h QPF, 914 for run total QPF. IF (IGET(913).GT.0) THEN diff --git a/sorc/ncep_post.fd/VRBLS2D_mod.f b/sorc/ncep_post.fd/VRBLS2D_mod.f index c05aa0420..3581f4615 100644 --- a/sorc/ncep_post.fd/VRBLS2D_mod.f +++ b/sorc/ncep_post.fd/VRBLS2D_mod.f @@ -51,6 +51,7 @@ module vrbls2d ,NCI_REFD(:,:),NCA_REFD(:,:),RAINC_BUCKET1(:,:),RAINNC_BUCKET1(:,:) & ,RAINC_BUCKET(:,:),RAINNC_BUCKET(:,:),SNOW_BUCKET(:,:) & ,GRAUP_BUCKET(:,:),PCP_BUCKET(:,:),ACGRAUP(:,:),ACFRAIN(:,:) & + ,FRZRN_BUCKET(:,:),SNOW_ACM(:,:),SNOW_BKT(:,:) & ,SNOW_BUCKET1(:,:),GRAUP_BUCKET1(:,:),PCP_BUCKET1(:,:) & ,SNOWNC(:,:),GRAUPELNC(:,:),TMAX(:,:),W_MEAN(:,:) & ,TSNOW(:,:),QVG(:,:),QV2m(:,:),QVl1(:,:) & From 430667cbc5eb776eff8ec14d5e258df18e8112a7 Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Mon, 12 Dec 2022 15:12:57 +0000 Subject: [PATCH 2/7] Rename winter wx diags --- sorc/ncep_post.fd/INITPOST_NETCDF.f | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sorc/ncep_post.fd/INITPOST_NETCDF.f b/sorc/ncep_post.fd/INITPOST_NETCDF.f index a414d748b..87c9cd20c 100644 --- a/sorc/ncep_post.fd/INITPOST_NETCDF.f +++ b/sorc/ncep_post.fd/INITPOST_NETCDF.f @@ -2262,31 +2262,31 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d) spval,VarName,SFCEXC) ! accumulated snowfall - VarName='acsnow' + VarName='tsnowp' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,SNOW_ACM) ! snowfall bucket - VarName='acsnowb' + VarName='tsnowpb' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,SNOW_BKT) ! accumulated graupel/sleet - VarName='acgraup' + VarName='frozr' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,acgraup) ! graupel/sleet bucket - VarName='acgraupb' + VarName='frozrb' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,graup_bucket) ! accumulated freezing rain - VarName='acfrzrn' + VarName='frzr' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,acfrain) ! freezing rain bucket - VarName='acfrzrnb' + VarName='frzrb' call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, & spval,VarName,frzrn_bucket) From a7f0b0fb6e0d7b833b063fa145f59a2134f9049d Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Mon, 19 Dec 2022 13:49:45 +0000 Subject: [PATCH 3/7] removed log file --- ..._File_processor_POST_FlatFile.log.20221208 | 144 ------------------ 1 file changed, 144 deletions(-) delete mode 100644 parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 diff --git a/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 b/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 deleted file mode 100644 index 5f5adfbf6..000000000 --- a/parm/POST_XML_Flat_File_processor_POST_FlatFile.log.20221208 +++ /dev/null @@ -1,144 +0,0 @@ -173403: [00138] Begin PostXMLPreprocessor - -173403: [00140] XML Configuration file read successfully. - -173412: [00162] Successfully process input XML files. - -173412: [00173] Flat file is new generated. - -173412: [00138] Begin PostXMLPreprocessor - -173412: [00140] XML Configuration file read successfully. - -173413: [00162] Successfully process input XML files. - -173413: [00173] Flat file is new generated. - -173413: [00138] Begin PostXMLPreprocessor - -173413: [00140] XML Configuration file read successfully. - -173416: [00162] Successfully process input XML files. - -173416: [00173] Flat file is new generated. - -173416: [00138] Begin PostXMLPreprocessor - -173416: [00140] XML Configuration file read successfully. - -173423: [00162] Successfully process input XML files. - -173423: [00173] Flat file is new generated. - -173423: [00138] Begin PostXMLPreprocessor - -173423: [00140] XML Configuration file read successfully. - -173428: [00162] Successfully process input XML files. - -173428: [00173] Flat file is new generated. - -173428: [00138] Begin PostXMLPreprocessor - -173428: [00140] XML Configuration file read successfully. - -173429: [00162] Successfully process input XML files. - -173429: [00173] Flat file is new generated. - -173429: [00138] Begin PostXMLPreprocessor - -173429: [00140] XML Configuration file read successfully. - -173437: [00162] Successfully process input XML files. - -173437: [00173] Flat file is new generated. - -173437: [00138] Begin PostXMLPreprocessor - -173437: [00140] XML Configuration file read successfully. - -173440: [00162] Successfully process input XML files. - -173440: [00173] Flat file is new generated. - -173440: [00138] Begin PostXMLPreprocessor - -173440: [00140] XML Configuration file read successfully. - -173445: [00162] Successfully process input XML files. - -173445: [00173] Flat file is new generated. - -173445: [00138] Begin PostXMLPreprocessor - -173445: [00140] XML Configuration file read successfully. - -173506: [00162] Successfully process input XML files. - -173506: [00173] Flat file is new generated. - -173506: [00138] Begin PostXMLPreprocessor - -173506: [00140] XML Configuration file read successfully. - -173509: [00162] Successfully process input XML files. - -173509: [00173] Flat file is new generated. - -173509: [00138] Begin PostXMLPreprocessor - -173509: [00140] XML Configuration file read successfully. - -173512: [00162] Successfully process input XML files. - -173512: [00173] Flat file is new generated. - -173512: [00138] Begin PostXMLPreprocessor - -173512: [00140] XML Configuration file read successfully. - -173525: [00162] Successfully process input XML files. - -173525: [00173] Flat file is new generated. - -173525: [00138] Begin PostXMLPreprocessor - -173525: [00140] XML Configuration file read successfully. - -173533: [00162] Successfully process input XML files. - -173533: [00173] Flat file is new generated. - -173533: [00138] Begin PostXMLPreprocessor - -173533: [00140] XML Configuration file read successfully. - -173557: [00162] Successfully process input XML files. - -173557: [00173] Flat file is new generated. - -173557: [00138] Begin PostXMLPreprocessor - -173557: [00140] XML Configuration file read successfully. - -173605: [00162] Successfully process input XML files. - -173605: [00173] Flat file is new generated. - -173605: [00138] Begin PostXMLPreprocessor - -173605: [00140] XML Configuration file read successfully. - -173607: [00162] Successfully process input XML files. - -173607: [00173] Flat file is new generated. - -173607: [00138] Begin PostXMLPreprocessor - -173607: [00140] XML Configuration file read successfully. - -173609: [00162] Successfully process input XML files. - -173609: [00173] Flat file is new generated. - From 6e2a200f2f5a9feaf9a79ed0f7e264bec48cc122 Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Mon, 19 Dec 2022 14:51:40 +0000 Subject: [PATCH 4/7] remove six winter wx diags from f00 file --- parm/postcntrl_gfs_f00.xml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/parm/postcntrl_gfs_f00.xml b/parm/postcntrl_gfs_f00.xml index c8e55f13d..3473ccdb9 100755 --- a/parm/postcntrl_gfs_f00.xml +++ b/parm/postcntrl_gfs_f00.xml @@ -907,36 +907,6 @@ 3.0 - - ACM_GRAUPEL_ON_SURFACE - 6.0 - - - - BUCKET_GRAUPEL_ON_SURFACE - 6.0 - - - - ACM_FRAIN_ON_SURFACE - 4.0 - - - - BUCKET_FRAIN_ON_SURFACE - 4.0 - - - - ACM_SNOWFALL_ON_SURFACE - 4.0 - - - - BUCKET_SNOWFALL_ON_SURFACE - 4.0 - - AER_OPT_GFS_at550 9.0 From 3b67129108c4c369980f34d38637a0ee441a113d Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Tue, 20 Dec 2022 01:36:52 +0000 Subject: [PATCH 5/7] remove winter weather diags from gfs f00 xml and txt files --- parm/postcntrl_gfs_f00_two.xml | 30 ---- parm/postxconfig-NT-GFS-F00-TWO.txt | 224 +--------------------------- 2 files changed, 1 insertion(+), 253 deletions(-) diff --git a/parm/postcntrl_gfs_f00_two.xml b/parm/postcntrl_gfs_f00_two.xml index 9b6acbc5e..3d5df294f 100755 --- a/parm/postcntrl_gfs_f00_two.xml +++ b/parm/postcntrl_gfs_f00_two.xml @@ -907,36 +907,6 @@ 3.0 - - ACM_GRAUPEL_ON_SURFACE - 6.0 - - - - BUCKET_GRAUPEL_ON_SURFACE - 6.0 - - - - ACM_FRAIN_ON_SURFACE - 4.0 - - - - BUCKET_FRAIN_ON_SURFACE - 4.0 - - - - ACM_SNOWFALL_ON_SURFACE - 4.0 - - - - BUCKET_SNOWFALL_ON_SURFACE - 4.0 - - AER_OPT_GFS_at550 9.0 diff --git a/parm/postxconfig-NT-GFS-F00-TWO.txt b/parm/postxconfig-NT-GFS-F00-TWO.txt index 8cfc367f4..229c1f52e 100644 --- a/parm/postxconfig-NT-GFS-F00-TWO.txt +++ b/parm/postxconfig-NT-GFS-F00-TWO.txt @@ -1,6 +1,6 @@ 2 47 -162 +156 GFSPRS 0 ncep_nco @@ -5567,228 +5567,6 @@ surface ? ? ? -746 -ACM_GRAUPEL_ON_SURFACE -? -1 -tmpl4_8 -FROZR -NCEP -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -6.0 -0 -0 -0 -? -? -? -775 -BUCKET_GRAUPEL_ON_SURFACE -bucket graupel precipitation on surface -1 -tmpl4_8 -FROZR -NCEP -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -6.0 -0 -0 -0 -? -? -? -782 -ACM_FRAIN_ON_SURFACE -? -1 -tmpl4_8 -FRZR -NCEP -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -4.0 -0 -0 -0 -? -? -? -1003 -BUCKET_FRAIN_ON_SURFACE -? -1 -tmpl4_8 -FRZR -NCEP -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -4.0 -0 -0 -0 -? -? -? -1004 -ACM_SNOWFALL_ON_SURFACE -? -1 -tmpl4_8 -TSNOWP -? -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -4.0 -0 -0 -0 -? -? -? -1005 -BUCKET_SNOWFALL_ON_SURFACE -? -1 -tmpl4_8 -TSNOWP -? -ACM -surface -0 -? -0 -? -? -0 -? -0 -? -? -? -0 -0.0 -0 -0.0 -? -0 -0.0 -0 -0.0 -1 -4.0 -0 -0 -0 -? -? -? 600 AER_OPT_GFS_at550 ? From 507ac36d09358f18b533f1466a663b277ec77c81 Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Tue, 20 Dec 2022 22:31:15 +0000 Subject: [PATCH 6/7] Add one line to both acfrain and acgraup sections to ensure the correct time stamp in grib2 file for accumulated fields. --- sorc/ncep_post.fd/SURFCE.f | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sorc/ncep_post.fd/SURFCE.f b/sorc/ncep_post.fd/SURFCE.f index 01bc3ffed..4460427f4 100644 --- a/sorc/ncep_post.fd/SURFCE.f +++ b/sorc/ncep_post.fd/SURFCE.f @@ -3414,6 +3414,7 @@ SUBROUTINE SURFCE fld_info(cfld)%ifld=IAVBLFLD(IGET(746)) fld_info(cfld)%ntrange=1 fld_info(cfld)%tinvstat=IFHR-ID(18) + if(MODELNAME=='FV3R' .OR. MODELNAME=='GFS')fld_info(cfld)%tinvstat=IFHR !$omp parallel do private(i,j,ii,jj) do j=1,jend-jsta+1 jj = jsta+j-1 @@ -3459,6 +3460,7 @@ SUBROUTINE SURFCE fld_info(cfld)%ifld=IAVBLFLD(IGET(782)) fld_info(cfld)%ntrange=1 fld_info(cfld)%tinvstat=IFHR-ID(18) + if(MODELNAME=='FV3R' .OR. MODELNAME=='GFS')fld_info(cfld)%tinvstat=IFHR !$omp parallel do private(i,j,ii,jj) do j=1,jend-jsta+1 jj = jsta+j-1 From 9baaada77091f23005ee2574f01439bce5d8ce9d Mon Sep 17 00:00:00 2001 From: Eric Aligo Date: Fri, 23 Dec 2022 17:27:03 +0000 Subject: [PATCH 7/7] Add change log to SURFCE.f and INITPOST_NETCDF.f --- sorc/ncep_post.fd/INITPOST_NETCDF.f | 1 + sorc/ncep_post.fd/SURFCE.f | 1 + 2 files changed, 2 insertions(+) diff --git a/sorc/ncep_post.fd/INITPOST_NETCDF.f b/sorc/ncep_post.fd/INITPOST_NETCDF.f index 219bc56c9..046753a84 100644 --- a/sorc/ncep_post.fd/INITPOST_NETCDF.f +++ b/sorc/ncep_post.fd/INITPOST_NETCDF.f @@ -26,6 +26,7 @@ !> 2022-11-08 | Wen Meng | Remove instant PM2.5 calculation !> 2022-11-16 | Eric James | Read smoke, dust, biomass burning, and hourly wildfire potential from RRFS !> 2022-12-07 | Wen Meng | Read AOD from AQM model +!> 2022-12-23 | Eric Aligo | Read six winter weather diagnostics from model !> !> @author Hui-Ya Chuang @date 2016-03-04 SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d) diff --git a/sorc/ncep_post.fd/SURFCE.f b/sorc/ncep_post.fd/SURFCE.f index 4460427f4..d209b30b5 100644 --- a/sorc/ncep_post.fd/SURFCE.f +++ b/sorc/ncep_post.fd/SURFCE.f @@ -43,6 +43,7 @@ !! - 22-02-01 E JAMES - Cleaning up GRIB2 encoding for six variables !! that cause issues with newer wgrib2 builds in RRFS system. !! - 22-11-16 E JAMES - Adding dust from RRFS +!! - 22-12-23 E Aligo - Read six winter weather diagnostics from model. !! !! USAGE: CALL SURFCE !! INPUT ARGUMENT LIST: