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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? surffilemod.f90

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F90
?? 第 1 頁 / 共 3 頁
字號:
#include <misc.h>#include <preproc.h>module surfFileMod!=======================================================================contains!=======================================================================  subroutine surfrd(veg, wt,  &       cam_longxy, cam_latixy, cam_numlon, cam_landfrac, cam_landmask)!----------------------------------------------------------------------- ! ! Purpose: ! Read surface data file and make subgrid patches! ! Method: ! The model's surface dataset recognizes 5 basic land cover types within ! a grid cell: lake, wetland, urban, glacier, and vegetated. The vegetated ! portion of the grid cell is comprised of up to [maxpatch_pft] PFTs ! (patches). These subgrid patches are read in explicitly from the surface! dataset at the model resolution for each grid cell. This is in contrast ! to LSMv1, where the PFTs were built implicitly from biome types.!! The monthly surface dataset contains the following (on the ! [lsmlon] x [lsmlat] grid). !    o real edges of grid!    o real latitude  of grid cell (degrees)!    o real longitude of grid cell (degrees)!    o integer number of longitudes per latitude!    o integer surface type: 0 = ocean or 1 = land!    o integer soil color (1 to 9) for use with soil albedos!    o real soil texture, %sand, for thermal and hydraulic properties!    o real soil texture, %clay, for thermal and hydraulic properties!    o real % of cell covered by lake    for use as subgrid patch!    o real % of cell covered by wetland for use as subgrid patch!    o real % of cell that is urban      for use as subgrid patch!    o real % of cell that is glacier    for use as subgrid patch!    o integer PFTs!    o real % abundance PFTs (as a percent of vegetated area)!! OFFLINE MODE ONLY:! Surface grid edges -- Grids do not have to be global. ! If the model grid is read in from the surface dataset, the grid is ! assumed to be global although it does not have to be regular (it! can be a gaussian grid, for example). If the model grid is generated ! by clm2, the grid does not have to be global but it but must be ! regular and the user must define the north, east, south, and west edges! as noted below.!!    o lsmedge(1) = northern edge of grid (degrees): >  -90 and <= 90!    o lsmedge(2) = eastern edge of grid (degrees) : see following notes!    o lsmedge(3) = southern edge of grid (degrees): >= -90 and <  90!    o lsmedge(4) = western edge of grid (degrees) : see following notes!!    For partial grids, the northern and southern edges are any latitude!    between 90 (North Pole) and -90 (South Pole). Western and eastern!    edges are any longitude between -180 and 180, with longitudes!    west of Greenwich negative. That is, western edge >= -180 and < 180;!    eastern edge > western edge and <= 180.!!    For global grids, the northern and southern edges are 90 (North Pole)!    and -90 (South Pole). The western and eastern edges depend on!    whether the grid starts at Dateline or Greenwich. Regardless,!    these edges must span 360 degrees. !! Author: Gordon Bonan! !-----------------------------------------------------------------------! $Id: surfFileMod.F90,v 1.13.2.4.6.1 2002/05/13 19:25:08 erik Exp $ !-----------------------------------------------------------------------    use precision    use clm_varpar                      !parameters    use clm_varctl                      !control variables     use clm_varsur                      !surface data     use pft_varcon                      !vegetation type (PFT)     use fileutils, only : getfil    use spmdMod                         !spmd routines and variables           use areaMod                         !area avg routines    implicit none    include 'netcdf.inc'! ------------------------ arguments------------------------------------    integer , intent(out) :: veg(lsmlon,lsmlat,maxpatch) !PFT     real(r8), intent(out) :: wt(lsmlon,lsmlat,maxpatch)  !subgrid weights    real(r8), optional, intent(in) :: cam_longxy(:,:)    !cam lon values    real(r8), optional, intent(in) :: cam_latixy(:,:)    !cam lat values     integer , optional, intent(in) :: cam_numlon(:)      !cam number of longitudes     real(r8), optional, intent(in) :: cam_landfrac(:,:)  !cam fractional land    integer , optional, intent(in) :: cam_landmask(:,:)  !cam land mask! ----------------------------------------------------------------------! ------------------------ local variables -----------------------------    character(len=256) :: locfn                    !local file name    integer  :: i,j,k,m                            !indices    integer  :: ier                                !error status     integer  :: pft(lsmlon,lsmlat,maxpatch_pft)    !PFT     integer  :: ncid,dimid,varid                   !input netCDF id's    integer  :: beg4d(4),len4d(4)                  !netCDF variable edges    integer  :: nlon_i                             !number of input data longitudes    integer  :: nlat_i                             !number of input data latitudes    integer  :: nlev_i                             !number of input data levels    integer  :: maxpatch_pft_i                     !number of input data pft types    real(r8) :: pctpft(lsmlon,lsmlat,maxpatch_pft) !percent of vegetated area for PFTs    real(r8) :: sumscl                             !temporory scalar sum     real(r8) :: sumvec(lsmlon,lsmlat)              !temporary vector sum ! ----------------------------------------------------------------------    if (masterproc) then! Initialize surface data to unused value       landmask(:,:) = -999       landfrac(:,:) = -999.       latixy(:,:)   = -999.       longxy(:,:)   = -999.       soic2d(:,:)   = -999       sand3d(:,:,:) = -999.       clay3d(:,:,:) = -999.       pctlak(:,:)   = -999.       pctwet(:,:)   = -999.       pcturb(:,:)   = -999.       pctgla(:,:)   = -999.! Obtain netcdf file and read surface data       write (6,*) 'Attempting to read surface boundary data .....'       call getfil (fsurdat, locfn, 0)       call wrap_open(locfn, 0, ncid)       call wrap_inq_dimid  (ncid, 'lsmlon', dimid)       call wrap_inq_dimlen (ncid, dimid, nlon_i)       if (nlon_i /= lsmlon) then          write(6,*)'SURFRD: parameter lsmlon= ',lsmlon, &               'does not equal input nlon_i= ',nlon_i          call endrun       endif       call wrap_inq_dimid  (ncid, 'lsmlat', dimid)       call wrap_inq_dimlen (ncid, dimid, nlat_i)       if (nlat_i /= lsmlat) then          write(6,*)'SURFRD: parameter lsmlat= ',lsmlat, &               'does not equal input nlat_i= ',nlat_i          call endrun       endif       call wrap_inq_dimid  (ncid, 'nlevsoi', dimid)       call wrap_inq_dimlen (ncid, dimid, nlev_i)       if (nlev_i /= nlevsoi) then          write(6,*)'SURFRD: parameter nlevsoi= ',nlevsoi, &               'does not equal input nlev_i= ',nlev_i          call endrun       endif       call wrap_inq_dimid  (ncid, 'lsmpft', dimid)       call wrap_inq_dimlen (ncid, dimid, maxpatch_pft_i)       if (maxpatch_pft_i /= maxpatch_pft) then          write(6,*)'SURFRD: parameter maxpatch_pft',maxpatch_pft, &               'does not equal input maxpatch_pft_i= ',maxpatch_pft_i          call endrun       endif#if (defined OFFLINE)       ier = nf_inq_varid (ncid, 'EDGEN', dimid)       if (ier == NF_NOERR) then            offline_rdgrid = .false. ! variable is on history tape - regional grid       else          offline_rdgrid = .true.  ! variable is not on history tape       endif       if (.not. offline_rdgrid) then          call wrap_inq_varid (ncid, 'EDGEN', varid)          call wrap_get_var_realx (ncid, varid, lsmedge(1))                 call wrap_inq_varid (ncid, 'EDGEE', varid)          call wrap_get_var_realx (ncid, varid, lsmedge(2))                    call wrap_inq_varid (ncid, 'EDGES', varid)          call wrap_get_var_realx (ncid, varid, lsmedge(3))                    call wrap_inq_varid (ncid, 'EDGEW', varid)          call wrap_get_var_realx (ncid, varid, lsmedge(4))       endif#endif       call wrap_inq_varid (ncid, 'NUMLON', varid)       call wrap_get_var_int   (ncid, varid  , numlon)       fullgrid = .true.       do j = 1,lsmlat          if (numlon(j) < lsmlon) fullgrid = .false.       end do       if (fullgrid) then          call wrap_inq_varid (ncid, 'LONGXY' , varid)       else          call wrap_inq_varid (ncid, 'RLONGXY', varid)       endif       call wrap_get_var_realx (ncid, varid, longxy)       call wrap_inq_varid (ncid, 'LATIXY', varid)       call wrap_get_var_realx (ncid, varid, latixy)       call wrap_inq_varid (ncid, 'LANDMASK', varid)        call wrap_get_var_int (ncid, varid, landmask)       call wrap_inq_varid (ncid, 'LANDFRAC', varid)        call wrap_get_var_realx (ncid, varid, landfrac)       call wrap_inq_varid (ncid, 'SOIL_COLOR', varid)       call wrap_get_var_int   (ncid, varid, soic2d)       call wrap_inq_varid (ncid, 'PCT_SAND', varid)       call wrap_get_var_realx (ncid, varid, sand3d)       call wrap_inq_varid (ncid, 'PCT_CLAY', varid)       call wrap_get_var_realx (ncid, varid, clay3d)        call wrap_inq_varid (ncid, 'PCT_WETLAND', varid)       call wrap_get_var_realx (ncid, varid, pctwet)       call wrap_inq_varid (ncid, 'PCT_LAKE', varid)       call wrap_get_var_realx (ncid, varid, pctlak)       call wrap_inq_varid (ncid, 'PCT_GLACIER', varid)       call wrap_get_var_realx (ncid, varid, pctgla)       call wrap_inq_varid (ncid, 'PCT_URBAN', varid)       call wrap_get_var_realx (ncid, varid, pcturb)       call wrap_inq_varid (ncid, 'PFT', varid)       call wrap_get_var_int (ncid, varid, pft)       call wrap_inq_varid (ncid, 'PCT_PFT', varid)       call wrap_get_var_realx (ncid, varid, pctpft)       call wrap_close(ncid)! Define edges and area of grid cells#if (defined OFFLINE)        if (offline_rdgrid) then          call celledge (lsmlat, lsmlon, numlon, longxy, latixy, &                         lats  , lonw  )          call cellarea (lsmlat, lsmlon, numlon, lats, lonw, &                         area   )       else	          call celledge (lsmlat    , lsmlon    , numlon    , longxy    , &                         latixy    , lsmedge(1), lsmedge(2), lsmedge(3), &                         lsmedge(4), lats      , lonw       )          call cellarea (lsmlat    , lsmlon    , numlon    , lats      , &                          lonw      , lsmedge(1), lsmedge(2), lsmedge(3), &                         lsmedge(4), area       )       endif#else       ! CLM2 is run as part of CAM model or through the CCSM flux coupler      ! The input grid, land mask and fractional land must match the corresponding      ! CAM values. Consequently, the following check must be done on input       ! latitudes and longitudes since these are computed each time by the CAM        ! model and might be different to roundoff depending on the platform       do j = 1,lsmlat          do i = 1,numlon(j)             if ( abs(cam_latixy(i,j)-latixy(i,j)) > 1.e-6 ) then                write(6,*)'CAM latitude ',cam_latixy(i,j),' and clm2 input latitude ', &                     latixy(i,j),' has difference too large at i,j= ',i,j                call endrun             else                latixy(i,j) = cam_latixy(i,j)             endif             if ( abs(cam_longxy(i,j)-longxy(i,j)) > 1.e-6 ) then                write(6,*)'CAM longitude ',cam_longxy(i,j),' and clm2 input longitude ', &                     longxy(i,j),' has difference too large at i,j= ',i,j

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91片在线免费观看| 亚洲欧美一区二区三区极速播放| 欧美三级乱人伦电影| 色婷婷亚洲精品| 91黄色免费观看| 欧亚一区二区三区| 在线观看国产一区二区| 欧美午夜精品免费| 欧美日韩一区国产| 欧美一级艳片视频免费观看| 欧美一区二区三区免费| 日韩欧美在线不卡| ww亚洲ww在线观看国产| 久久久91精品国产一区二区三区| 久久久三级国产网站| 国产精品女同一区二区三区| 亚洲欧洲一区二区三区| 亚洲一区影音先锋| 青青草原综合久久大伊人精品| 欧美96一区二区免费视频| 国内精品不卡在线| 国产mv日韩mv欧美| 一本色道久久综合亚洲aⅴ蜜桃 | 日本高清不卡视频| 欧美区一区二区三区| 欧美大片在线观看一区二区| 国产日本欧洲亚洲| 日韩毛片精品高清免费| 亚洲成人先锋电影| 国产乱人伦精品一区二区在线观看| 成人综合在线网站| 欧美在线播放高清精品| 日韩欧美一区二区不卡| 国产日韩在线不卡| 亚洲第一激情av| 国产一区激情在线| 9色porny自拍视频一区二区| 欧美美女一区二区在线观看| 欧美r级电影在线观看| 国产精品三级av| 亚洲一区二区三区自拍| 久久精品av麻豆的观看方式| 成人18精品视频| 日韩一级大片在线| 国产免费成人在线视频| 亚洲va欧美va天堂v国产综合| 精久久久久久久久久久| 91香蕉视频污| 日韩一区二区三区免费观看 | 激情丁香综合五月| 99久久er热在这里只有精品15| 欧美美女一区二区在线观看| 国产精品萝li| 奇米影视一区二区三区小说| 波多野结衣中文字幕一区| 4438x亚洲最大成人网| 国产精品亲子乱子伦xxxx裸| 五月天精品一区二区三区| 成人激情免费网站| 日韩一区二区三区四区五区六区| 国产精品色在线| 麻豆91在线播放免费| 91同城在线观看| 国产亚洲综合性久久久影院| 亚洲成人手机在线| 99久久99久久精品免费观看| 欧美xxxxx牲另类人与| 亚洲一二三四在线观看| 成人小视频免费在线观看| 日韩三级精品电影久久久| 亚洲精品高清在线观看| 高潮精品一区videoshd| 日韩三级免费观看| 午夜国产不卡在线观看视频| 91亚洲国产成人精品一区二区三 | 伊人开心综合网| 国产69精品久久久久777| 欧美一区二区视频观看视频| 亚洲一区二区欧美激情| 99在线视频精品| 久久精品视频免费| 久久99精品国产麻豆婷婷洗澡| 欧美探花视频资源| 亚洲人成7777| 成人短视频下载| 国产午夜精品在线观看| 美国毛片一区二区三区| 欧美日韩一卡二卡三卡| 亚洲精品精品亚洲| 91丨porny丨中文| 国产精品成人一区二区艾草 | 国产激情精品久久久第一区二区 | 欧美一区二区三区电影| 亚洲综合丝袜美腿| 91蜜桃婷婷狠狠久久综合9色| 国产亚洲制服色| 国产99久久久国产精品免费看| 日韩午夜中文字幕| 美国三级日本三级久久99| 正在播放亚洲一区| 日韩激情视频网站| 欧美伦理影视网| 欧美日韩的一区二区| 欧美日韩一区二区三区在线| 亚洲一二三四久久| 欧洲av在线精品| 亚洲成人一区在线| 欧美夫妻性生活| 美女一区二区视频| 欧美一区二区三区系列电影| 日本亚洲最大的色成网站www| 欧美日韩免费一区二区三区 | 国产传媒一区在线| 国产欧美精品一区二区三区四区 | 一色桃子久久精品亚洲| 9人人澡人人爽人人精品| 综合久久国产九一剧情麻豆| 色又黄又爽网站www久久| 亚洲精品国产精华液| 欧美日韩免费一区二区三区视频| 日韩av午夜在线观看| 日韩精品一区二区三区四区视频| 久久er99精品| 久久久久久久电影| 成人黄色av网站在线| 一区二区三区国产精品| 在线电影国产精品| 国产毛片精品视频| 亚洲欧美色图小说| 91精品国产麻豆| 国产成人综合亚洲网站| 亚洲日本一区二区| 欧美男生操女生| 国产高清一区日本| 亚洲九九爱视频| 欧美一级欧美三级| 国产精品亚洲人在线观看| 日韩一区在线播放| 制服丝袜中文字幕一区| 国产91丝袜在线播放0| 一区二区三区欧美| 欧美一级国产精品| 国产成人精品亚洲日本在线桃色 | 亚洲一区二区偷拍精品| 日韩美女天天操| 成人免费观看av| 天天av天天翘天天综合网色鬼国产| 精品欧美一区二区在线观看| 99视频有精品| 捆绑调教一区二区三区| 国产精品人人做人人爽人人添| 欧美视频一区二区三区| 国产精品一品视频| 亚洲va国产va欧美va观看| 国产视频不卡一区| 这里只有精品电影| 99re这里只有精品6| 日韩av网站在线观看| 亚洲欧洲www| 日韩精品一区二区三区蜜臀| 93久久精品日日躁夜夜躁欧美| 日韩精品一卡二卡三卡四卡无卡| 国产女人水真多18毛片18精品视频| 99久久777色| 国产一区二区在线观看免费| 亚洲综合av网| 国产日产欧美一区| 欧美大片在线观看一区| 在线观看中文字幕不卡| 成人黄色av电影| 久88久久88久久久| 五月天激情综合| 亚洲美女视频在线| 国产精品久久久久久久浪潮网站| 欧美大黄免费观看| 欧美剧情片在线观看| 97精品超碰一区二区三区| 精品一区二区三区视频在线观看| 亚洲午夜精品一区二区三区他趣| 中文欧美字幕免费| 久久精品视频在线看| 日韩无一区二区| 欧美日韩美少妇| 91国产成人在线| av网站一区二区三区| 国产在线不卡一区| 久久成人综合网| 日韩在线观看一区二区| 悠悠色在线精品| 亚洲欧洲日产国码二区| 国产亚洲欧美色| 91网上在线视频| 亚洲超碰97人人做人人爱| 亚洲乱码精品一二三四区日韩在线| 国产色婷婷亚洲99精品小说| 日韩欧美一二区| 日韩欧美色综合| 欧美成人国产一区二区| 日韩亚洲欧美在线| 日韩欧美国产小视频|