亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? histhandlermod.f90

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F90
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
#include <misc.h>#include <preproc.h>module histHandlerMod  use precision, only: r8  use clm_varpar, only : maxhist  implicit none! Variables  logical, private :: lrestwrt           !true => write restart file at this time step   integer, public  :: mcdate_i(maxhist)  !start of history interval date (yyyymmdd format)  integer, public  :: mcsec_i(maxhist)   !start of history interval seconds of current date  integer, public  :: mdcur_i(maxhist)   !start of history interval day   integer, public  :: mscur_i(maxhist)   !start of history interval seconds of current day         ! Methods   public  :: histhandler         !main history and restart handler   public  :: histend             !determines if end of history interval   public  :: do_restwrite        !returns logical setting if time to write restart data   private :: close_and_disp      !determine if file needs to be closed and archived   private :: set_hist_filename   !sets history dataset filenames  SAVE!=======================================================================CONTAINS!=======================================================================  subroutine histhandler ()!----------------------------------------------------------------------- ! ! Purpose: ! History file handler!! Method: ! This code does the following for every time step:!   o increments history field accumulation counters!   o determines if next time step is beginning of history interval!! This code does the following at the end of a history interval:!   o increments the current time sample counter: ntim <= hist_mfilt!   o opens a new history file if needed (i.e., when ntim = 1)!   o writes history data to current history file!   o resets field accumulation counters to zero!! This code does the following when a history file is full! (i.e., ntim = hist_mfilt) or at the last time step of the simulation:!   o closes history file and disposes to mass store if appropriate!   o resets time sample counter to zero if file is full!! This code does the following when the primary history file is full! (i.e., ntim = hist_mfilt) or at the last time step of the simulation:!   o writes restart file and disposes to mass store if appropriate! ! Author: Gordon Bonan! !-----------------------------------------------------------------------! $Id: histHandlerMod.F90,v 1.13.2.5 2002/04/27 15:38:48 erik Exp $!-----------------------------------------------------------------------    use clm_varctl, only : locfnh, hist_nhtfrq, hist_mfilt, &                           archive_dir, mss_wpass, mss_irt    use histFileMod, only : nhist, nbeghis, ntim, timcom, ncid, ehi, &                            histcrt, histwrt, histcls , histzero     use fileutils, only : set_filename, putfil    use spmdMod, only : masterproc    use time_manager, only : get_nstep, get_curr_date, get_curr_time    use shr_const_mod, only: SHR_CONST_CDAY    include 'netcdf.inc'! ------------------------ local variables ------------------------    integer  :: i                          !loop index    integer  :: m                          !history file do loop counter    integer  :: ier                        !error code    integer  :: day                        !current day (1 -> 31)    integer  :: mon                        !current month (1 -> 12)    integer  :: yr                         !current year (0 -> ...)    integer  :: mcsec                      !seconds of current date    integer  :: mdcur                      !current day     integer  :: mscur                      !seconds of current day    integer  :: mcdate                     !current date     logical  :: lhisdisp(nhist)            !true => save and dispose history file     logical  :: lremovh(nhist)             !true => remove local history file after dispose    logical  :: lstop                      !true => last time step of run     real(r8) :: frac_i                     !fractional day, start of time sample    real(r8) :: frac                       !current fractional day     real(r8) :: hour_i                     !fractional hour,start of time sample    real(r8) :: hour                       !current fractional hour     character(len=256) :: loc_fn           !local and remote filenames    character(len=256) :: rem_dir          !remote (archive) directory    character(len=256) :: rem_fn           !remote (archive) filename! -----------------------------------------------------------------! -----------------------------------------------------------------! Loop over history files: Increment history field counters, ! create new history files if necessary and write data to history ! files if end of history interval.! -----------------------------------------------------------------    do m = 1, nhist! Set [nbeghis] to one to indicate next time step is start of time sample       if (ehi(m)) then          nbeghis(m) = 1       else          nbeghis(m) = 0       end if! End of history interval?       if (ehi(m)) then! Increment current time sample counter.  If first time sample ! generate unique history file name and open netCDF file.          ntim(m) = ntim(m) + 1          if (masterproc) then             if (ntim(m) == 1) then                locfnh(m) = set_hist_filename (hist_freq=hist_nhtfrq(m), hist_file=m)                write(6,*)'(HISTHANDLER): Creating history file ', &                     trim(locfnh(m)),' at nstep = ',get_nstep()                call histcrt (m)             endif          end if! Build time comment for current time sample based on start of ! time slice calendar info and  current time calendar info           if (masterproc) then             call get_curr_time (mdcur, mscur)               call get_curr_date (yr, mon, day, mcsec)              mcdate = yr*10000 + mon*100 + day             frac_i = float(mscur_i(m))/SHR_CONST_CDAY             frac   = float(mscur     )/SHR_CONST_CDAY             hour_i = float(mcsec_i(m))/SHR_CONST_CDAY*24. !/3600. s per hr             hour   = float(mcsec     )/SHR_CONST_CDAY*24. !/3600. s per hr             write(timcom(m),200) &                  mdcur_i(m),frac_i,mdcur,frac,hour_i,mcdate_i(m),hour,mcdate200          format ('TIME AVG FOR DAYS: ',i6.6,f4.3,'-',i6.6,f4.3, &                  ' DATES:',f6.3,'Z ',i8.8,'-',f6.3,'Z ',i8.8)             write(6,*)             write(6,*)'(HISTHANDLER): Writing current time sample to local history file ',&                  trim(locfnh(m)),' at nstep = ',get_nstep()             write(6,*) trim(timcom(m))             write(6,*)          endif! Write history time sample          call histwrt(m)! Zero necessary history buffer information          call histzero(m)       end if    end do  ! end loop over history tapes! -----------------------------------------------------------------! Loop over history files and if history file is full ! (ntim = hist_mfilt) or if last time step ! o close history file and dispose to mass store if appropriate! o reset [ntim] time sample counter to zero (only if file is full)! -----------------------------------------------------------------! determine if file needs to be closed and disposed    call close_and_disp (lhisdisp, lstop, lremovh) ! loop over history files    do m = 1, nhist       if (lhisdisp(m)) then! Close open history file and dispose to mass store! Auxilary files may have been closed and saved off without being full,! must reopen the files          if (masterproc) then             if (ntim(m) /= 0) then                write(6,*)                write(6,*) '(HISTHANDLER): Closing local history file ',&                     trim(locfnh(m)),' at nstep = ', get_nstep()                write(6,*)                call histcls(m)                rem_dir = trim(archive_dir) // '/hist/'                rem_fn = set_filename(rem_dir, locfnh(m))                call putfil (locfnh(m), rem_fn, mss_wpass, mss_irt, lremovh(m))                if (.not.lstop .and. (ntim(m)/=hist_mfilt(m))) then                   call wrap_open (trim(locfnh(m)), NF_WRITE, ncid(m))                end if             else                write(6,*)'(HISTHANDLER): history file ',m,': no open file to close'             end if          endif! reset number of time samples to zero if file is full          if (ntim(m) == hist_mfilt(m)) then             ntim(m) = 0                            locfnh(m) = ' '          end if       end if  ! end of if-dispose block    end do     ! end of loop over tapes    return  end subroutine histhandler!=======================================================================  subroutine histend ()!----------------------------------------------------------------------- ! ! Purpose: ! Determine if end of history interval!! Method: !! Daily-averaged data for the first day in September ! are written on mcdate = 00/09/02 with mscur = 0! ! In general: daily-averaged data for the first day in! month mm are written on mcdate = yyyy/mm/02 with mscur = 0! ! Daily-averaged data for the 30th day (last day in September)! are written on mcdate = 0000/10/01 mscur = 0! ! In general: daily-averaged data for the last day in! month mm are written on mcdate = yyyy/mm+1/01 with mscur = 0!! Author: Gordon Bonan! !-----------------------------------------------------------------------    use clm_varctl , only : hist_mfilt, hist_nhtfrq, hist_crtinic    use histFileMod, only : ehi, nhist, nbeghis    use time_manager, only : get_nstep, get_curr_date, get_prev_date, get_curr_time! ------------------------ local variables ------------------------    integer :: m          !history file (1, ..., maxhist)    integer :: nstep      !current step    integer :: day        !nstep day (1 -> 31)    integer :: mon        !nstep month (1 -> 12)    integer :: yr         !nstep year (0 -> ...)    integer :: mcsec      !nstep time of day [seconds]    integer :: daym1      !nstep-1 day (1 -> 31)    integer :: monm1      !nstep-1 month (1 -> 12)    integer :: yrm1       !nstep-1 year (0 -> ...)    integer :: mcsecm1    !nstep-1 time of day [seconds]    integer :: mcdate     !nstep date in integer format [yyyymmdd]    integer :: mcdatem1   !nstep-1 date in integer format [yyyymmdd]    integer :: mdcur      !day for current nstep    integer :: mscur      !seconds of current day! -----------------------------------------------------------------! -----------------------------------------------------------------

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜免费福利视频| 亚洲精品第一国产综合野| 国产成人一级电影| 中文字幕中文在线不卡住| 欧美一区二区三区视频免费播放| 精东粉嫩av免费一区二区三区| 国产精品美女www爽爽爽| 欧美mv日韩mv| 色婷婷亚洲综合| 国产一区二区三区精品视频| 亚洲电影在线免费观看| 91成人看片片| 成人不卡免费av| 亚洲精品在线观| 精品国产百合女同互慰| 亚洲国产一区在线观看| 一区二区三区色| 欧美精品一区二区三区蜜臀| 丁香激情综合国产| 午夜天堂影视香蕉久久| 精品久久久久久久久久久久久久久 | 日本一区二区电影| 日韩在线观看一区二区| 91精品国产全国免费观看| 麻豆精品视频在线观看| 精品国产伦一区二区三区免费| 日韩激情一区二区| 99久久婷婷国产综合精品电影 | 国产一区二区91| 国产三级欧美三级日产三级99| 国产曰批免费观看久久久| 日韩av高清在线观看| 亚洲第一电影网| 日韩欧美国产三级电影视频| jizzjizzjizz欧美| 精品在线免费观看| 国产三级一区二区三区| 久久99精品视频| 日韩美女精品在线| 中文字幕国产一区| 精品少妇一区二区三区日产乱码| 色偷偷一区二区三区| 色婷婷激情久久| 国产91精品在线观看| 国产精品亚洲第一区在线暖暖韩国| 午夜伊人狠狠久久| 亚洲观看高清完整版在线观看| 亚洲欧洲另类国产综合| 久久久久国色av免费看影院| 色综合一个色综合亚洲| 国产成人av网站| 激情久久久久久久久久久久久久久久| 久久精品国产免费| 青青草国产精品97视觉盛宴| 亚洲一区国产视频| 午夜精品久久久久久久99水蜜桃| 亚洲激情欧美激情| 亚洲欧美另类图片小说| 亚洲在线视频网站| 亚洲福利一二三区| 亚洲va欧美va国产va天堂影院| 视频一区在线播放| 久久国内精品视频| 亚洲精品高清视频在线观看| 亚洲一区免费在线观看| 偷拍一区二区三区四区| 一区二区三区色| 亚洲成av人片在线观看| 日韩精品成人一区二区在线| 丝袜美腿亚洲色图| 免费高清成人在线| 国产suv精品一区二区三区| 91年精品国产| 欧美精品在线观看播放| 欧美mv日韩mv亚洲| 亚洲欧美aⅴ...| 天堂va蜜桃一区二区三区漫画版| 日韩1区2区3区| 国产jizzjizz一区二区| av亚洲精华国产精华| 在线免费不卡电影| 日韩一区二区三区电影| 久久老女人爱爱| 欧美亚洲自拍偷拍| 久久精品亚洲一区二区三区浴池| 国产精品久久久久久久蜜臀| 亚洲精品自拍动漫在线| 精品一区二区国语对白| 成人精品鲁一区一区二区| 色欲综合视频天天天| 精品日本一线二线三线不卡| 国产精品久久久久久久裸模| 亚洲国产成人精品视频| 国内精品伊人久久久久av影院| 国产精品一二三在| 欧美性大战久久久| 久久―日本道色综合久久| 亚洲午夜免费视频| 国产黄色精品网站| 日本道精品一区二区三区| 久久久国产精品麻豆| 亚洲精品视频一区二区| 美脚の诱脚舐め脚责91| 欧美图区在线视频| 精品国产免费久久| 一区二区理论电影在线观看| 日本亚洲一区二区| 不卡av在线网| 日韩午夜激情电影| 国产精品久久免费看| 国产乱码精品一区二区三| 欧美羞羞免费网站| 国产亚洲欧美日韩俺去了| 日本不卡在线视频| 色欧美88888久久久久久影院| 日韩欧美在线综合网| 天天操天天干天天综合网| 成人av网在线| 日韩一区二区三免费高清| 亚洲乱码中文字幕| 国产资源在线一区| 91精品国产色综合久久| 一区二区三区在线视频免费| 国产大陆a不卡| 久久综合九色综合久久久精品综合| 夜夜亚洲天天久久| 99riav久久精品riav| 国产欧美日韩亚州综合| 精品在线播放午夜| 欧美老肥妇做.爰bbww视频| 国产日韩一级二级三级| 国产乱码精品一区二区三 | 国产精品亚洲第一区在线暖暖韩国| 欧美日韩在线免费视频| 亚洲午夜免费福利视频| 一本在线高清不卡dvd| 国产欧美一区视频| 国产高清在线精品| 精品处破学生在线二十三| 日本午夜精品一区二区三区电影 | 欧美一区二区三区不卡| 一区二区免费在线播放| 91在线免费视频观看| 国产精品美女久久久久久久久久久| 激情久久五月天| 国产精品成人网| 成人av综合一区| 国产日韩欧美精品一区| www.激情成人| 亚洲裸体xxx| 97aⅴ精品视频一二三区| 亚洲男人的天堂av| 在线观看亚洲a| 亚洲精品乱码久久久久久黑人 | 欧美国产成人在线| 国产成人午夜视频| 国产日韩av一区| 99在线精品免费| 亚洲青青青在线视频| 91亚洲精华国产精华精华液| 一区二区三区不卡在线观看 | 欧美videossexotv100| 国产在线播放一区三区四| 国产精品欧美一区二区三区| 色婷婷av一区二区三区大白胸| 无码av免费一区二区三区试看| 精品久久久久久久人人人人传媒 | 成人网在线播放| 亚洲免费av观看| 欧美一区二区三区在线观看| 国产伦精一区二区三区| 亚洲日本免费电影| 7777女厕盗摄久久久| 成人永久aaa| 亚洲不卡一区二区三区| 国产欧美一区二区精品秋霞影院| 91福利在线看| 国产剧情一区二区三区| 亚洲一级片在线观看| 国产日韩影视精品| 欧美精品自拍偷拍动漫精品| 成人av免费在线| 老鸭窝一区二区久久精品| √…a在线天堂一区| 日韩一级欧美一级| 96av麻豆蜜桃一区二区| 精品一区二区三区视频| 亚洲精品午夜久久久| 精品成人a区在线观看| 欧美色偷偷大香| 成人性生交大片免费| 美腿丝袜亚洲综合| 亚洲精品视频在线看| 国产日本一区二区| 欧美一区二区三区精品| 欧美性受xxxx黑人xyx性爽| 国产精品亚洲一区二区三区妖精 | 日本美女视频一区二区| 亚洲欧美日韩在线不卡| 久久久精品日韩欧美|