[Ncep.list.nems.announce] Upcoming NEMS/NEMSLegacy Trunk Commit - Ticket 168

Fei Liu fei.liu at gmail.com
Thu May 19 14:53:28 UTC 2016


Hi Fanglin,

 You can continue using existing CDATE definition as it is. This mod also
allows you to define starting minute and second in CDATE. Here is the
change log:

@@ -1219,12 +1219,16 @@
     INI_MONTH=$(echo $CDATE | awk -F" " '{print $2}')
     INI_DAY=$(echo $CDATE | awk -F" " '{print $3}')
     INI_HOUR=$(echo $CDATE | awk -F" " '{print $4}')
+    INI_MINUTE=$(echo $CDATE | awk -F" " '{print $5}')
+    INI_SECOND=$(echo $CDATE | awk -F" " '{print $6}')
   else
     INI_YEAR=$(echo $CDATE | cut -c1-4)
     echo "cdate=$CDATE, ini_year=${INI_YEAR}"
     INI_MONTH=$(echo $CDATE | cut -c5-6)
     INI_DAY=$(echo $CDATE | cut -c7-8)
     INI_HOUR=$(echo $CDATE | cut -c9-10)
+    INI_MINUTE=$(echo $CDATE | cut -c11-12)
+    INI_SECOND=$(echo $CDATE | cut -c13-14)
   fi
 else
   if [[ $ENS_NUM -le 1 ]] ; then
@@ -1257,15 +1261,27 @@
     INI_MONTH=$(echo $CDATE | awk -F" " '{print $2}')
     INI_DAY=$(echo $CDATE | awk -F" " '{print $3}')
     INI_HOUR=$(echo $CDATE | awk -F" " '{print $4}')
+    INI_MINUTE=$(echo $CDATE | awk -F" " '{print $5}')
+    INI_SECOND=$(echo $CDATE | awk -F" " '{print $6}')
   else
     INI_YEAR=$(echo $CDATE | cut -c1-4)
     echo "cdate=$CDATE, ini_year=${INI_YEAR}"
     INI_MONTH=$(echo $CDATE | cut -c5-6)
     INI_DAY=$(echo $CDATE | cut -c7-8)
     INI_HOUR=$(echo $CDATE | cut -c9-10)
+    INI_MINUTE=$(echo $CDATE | cut -c11-12)
+    INI_SECOND=$(echo $CDATE | cut -c13-14)
   fi
 fi

+# For old style CDATE without minute and second, use the same default
value 0
+if [ -z "$INI_MINUTE" ]; then
+  INI_MINUTE=0
+fi
+if [ -z "$INI_SECOND" ]; then
+  INI_SECOND=0
+fi
+


On Thu, May 19, 2016 at 10:47 AM, Fanglin Yang - NOAA Affiliate <
fanglin.yang at noaa.gov> wrote:

>  Fei and Jun,
>
> Does this mean we need to update the exglobal_fcst_nems.sh (again) in our
> parallel system to run experiments with NEMS trunk?  Do we need to make
> other changes to the parallel script to define CDATE differently?
>
> Fanglin
>
> On Thu, May 19, 2016 at 10:35 AM, Fei Liu <fei.liu at gmail.com> wrote:
>
>> It's used by rt_gfs.sh in the compset 2009_sbys_hycom. This compset is a
>> standalone hycom. At that level, it does not care if hycom is regional or
>> global. But if there is a better script for 2009_sbys_hycom please let me
>> know. Thanks.
>>
>> On Thu, May 19, 2016 at 10:28 AM, Shrinivas Moorthi <
>> shrinivas.moorthi at noaa.gov> wrote:
>>
>>> Why is regional application using global gsm script?
>>> Moorthi
>>>
>>> On 05/19/2016 10:16 AM, Fei Liu wrote:
>>>
>>> Hi All,
>>>    There is an upcoming commits to the NEMS trunk involving ticket 168:
>>>
>>> Enable NEMS to start with a start time at certain minutes and seconds.
>>> Set up regional hycom build and run.
>>>
>>>  The script tests/exglobal_fcst_nems.sh does not translate the minute and
>>>  second in CDATE setting from NEMS compset files. In regional hurricane
>>>  applications, we need finer control when the model start time should
>>>  be. I have added additional capability to enable finer control of NEMS
>>> start
>>>  time.
>>>
>>>  Additional changes are made in NEMSAppBuilder and NEMSCompsetRun.
>>> These changes set up regional dataset for HEP20 testcase on theia and
>>> yellowstone.
>>>
>>> NEMSCompsetRun now builds hycom differently depending on if an
>>> application uses hycom
>>>  as a regional model. By default, hycom will be built with global
>>> settings.
>>>
>>> Jun will announce when these changes will be merged into the trunk.
>>>
>>>  Thank you,
>>>
>>> Fei
>>>
>>>
>>> _______________________________________________
>>> Ncep.list.nems.announce mailing listNcep.list.nems.announce at lstsrv.ncep.noaa.govhttps://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce
>>>
>>>
>>>
>>> --
>>> Dr. Shrinivas Moorthi
>>> Research Meteorologist
>>> Global Climate and Weather Modeling Branch
>>> Environmental Modeling Center / National Centers for Environmental Prediction
>>> 5830 University Research Court - (W/NP23), College Park MD 20740 USA
>>> Tel:(301)683-3718
>>>
>>>
>>> _______________________________________________
>>> Ncep.list.nems.announce mailing list
>>> Ncep.list.nems.announce at lstsrv.ncep.noaa.gov
>>> https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce
>>>
>>>
>>
>> _______________________________________________
>> Ncep.list.nems.announce mailing list
>> Ncep.list.nems.announce at lstsrv.ncep.noaa.gov
>> https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce
>>
>>
>
>
> --
> Fanglin Yang, Ph.D.
> Environmental Modeling Center
> National Centers for Environmental Prediction
> 301-6833722; fanglin.yang at noaa.gov
> http://www.emc.ncep.noaa.gov/gmb/wx24fy/fyang/
> http://www.emc.ncep.noaa.gov/gmb/STATS_vsdb/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20160519/b7771db5/attachment.html 


More information about the Ncep.list.nems.announce mailing list