[RegCNET] File size and frequency

bixq bixq at ictp.it
Tue Jan 12 09:29:45 CET 2010


Hi, Prof. Ray Arritt:

Some FORTRAN compiler (like Intel ifort) support 2Gb, so one method
is using Intel IFC to prepare ICBC.

For ICBC.f, there is another method,

to uncomment the IF setence which is related to NUMFILE, and 
comment the later 2 lines, like:

          IF(MOD(NNN-NSTART,NUMFILE).EQ.0 .or.
      &     (imon.ne.imonold.and.nnn.lt.nnnend.and.nnn.gt.nstart)) THEN
c        IF(NNN.eq.NSTART .or.
c    &     (imon.ne.imonold.and.nnn.lt.nnnend.and.nnn.gt.nstart)) THEN

For RegCM output, it could be solved by edit output.F

       if (lday.eq.1 .and. lhour.eq.0 .and. nint(xtime).eq.0
      &    .and. (.not.(jyear.eq.jyearr.and.ktau.eq.ktaur))
      &    .and. nnnnnn.ne.nnnend) then
         call mkfile
       end if

You could change the first line to:
       if (mod(lday,5).eq.1 ..and. lhour.eq.0 .and. nint(xtime).eq.0

to set the output frequency every 5 day per file.

Regards,
Xunqiang Bi

On Fri, 1 Jan 2010, Raymond Arritt wrote:

> By default RegCM writes ICBC and output files at monthly intervals. For very 
> large domains this can produce files exceeding 2.1 GB which is the limit for 
> many systems.  This appears to be hard-coded into various routines such as 
> ICBC.f and output.F and thus is not easy to change. But maybe I am wrong and 
> there is an easy way to produce new files more often than once per month, so 
> that each input or output file will be smaller.  Does anyone have experience 
> doing this?
>
> Thanks for any suggestions you can offer.  Best New Year wishes to all the 
> RegCM community.
>
> Ray Arritt
>
> --
>   Raymond W. Arritt                            tel   +1-424-242-0329
>   Professor,  Department of Agronomy           tel (local)  294-9870
>   Iowa State University                        fax   +1-515-294-2619
>   3009 Agronomy Hall, Iowa State University, Ames, Iowa  50011   USA
>   ------------------------------------------------------------------
>     A good scientist has freed himself of concepts and keeps his
>     mind open to what is.  -- Tao Te Ching
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at ictp.it
   Earth System Physics Group
   The Abdus Salam ICTP
   Strada Costiera, 11
   P.O. BOX 586, 34100 Trieste, ITALY
   Tel: +39-040-2240302  Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the RegCNET mailing list