[RegCNET] output control of RegCM4.1.1

Graziano Giuliani ggiulian at ictp.it
Fri Aug 26 09:58:29 CEST 2011


On 08/26/2011 06:27 AM, suxingtao at sina.com wrote:
> Dear all,
> In present model RegCM4.1.1, the results is outputed according to month. The first time of a month,such as April, is 06:00Apr1, and the last time is 00:00May1. Now I want to modify the default output time of the model as follows. The first time of April is 00:00Apr1, and the last time is 18:00Apr30. Could you kindly help me? Or give me some suggesstions on modifying the parameteres or programs of the model. Thanks a lot. I will be appreciated for your any help.
>  
> Best wishes,
> Su
> Nanjing,China
[...]

Su,

You will need to modify the mod_output module. I am for this referring to 
4.1.1-p4. Around line 1397:

#ifdef MPP1
       if ( myid == 0 ) then
#endif
         if ( lday == 1 .and. lhour == 0 .and. ntime == 0 ) then
           if ( .not. lstartup .and. idatex /= idate2 ) then
             call mkfile
           end if
         end if
#ifdef MPP1
       end if
#endif

The control for opening a new files is so triggered on the first day of month at 
00:00:00. Just change lhour == 6, and You should get what You want.

Ciao!

-- 
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy



More information about the RegCNET mailing list