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

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

?? mkgridmod.f90

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F90
?? 第 1 頁 / 共 2 頁
字號:
#include <misc.h>#include <preproc.h>module mkgridMod!----------------------------------------------------------------------- ! ! Purpose: ! Routines to create land model grid! ! Method: !! Author: Mariana Vertenstein! !-----------------------------------------------------------------------! $Id: mkgridMod.F90,v 1.9.2.2 2002/04/27 15:38:53 erik Exp $!-----------------------------------------------------------------------  use precision  use clm_varpar          !parameters   use clm_varsur          !surface variables   use clm_varctl          !run control variables  use fileutils, only : getfil  use areaMod             !area averaging routines  use spmdMod, only: masterproc  implicit none!=======================================================================contains!=======================================================================#if (defined OFFLINE)   subroutine mkgrid_offline!----------------------------------------------------------------------- ! ! Purpose: ! Obtain land model grid! ! Method: ! If namelist variable mksrf_offline_fgrid is the empty string, then! the corresponding file will be used to determine the land model grid! If namelist variable mksrf_offline is not the empty string, then ! the land model grid will be generated at run time !! Author: Mariana Vertenstein! !-----------------------------------------------------------------------    if (mksrf_offline_fgrid /= ' ') then       call read_grid_offline       offline_rdgrid = .true.    else       call create_grid_offline       offline_rdgrid = .false.    endif  end subroutine mkgrid_offline!=======================================================================  subroutine read_grid_offline!----------------------------------------------------------------------- ! ! Purpose: ! Read land model grid when mode is offline.! ! Method: ! If namelist variable mksrf_offline_fgrid is the empty string, then! the corresponding file will be used to determine the land model grid! Assume that the input data file has the land grid in the following ! form:!    lon                    => dimension!    lat                    => dimension!    lon(lsmlon)            => full grid longitudes!    nlon(lsmlat)           => reduced grid number of lats per lon!    rlon(lsmlon,lsmlat)    => reduced grid longitudes!    lat(lsmlat)            => grid latitudes!    oro(lsmlon,lsmlat)     => 2d land mask!    landfrac(lsmlon,lsmlat)=> 2d land fraction!! Author: Mariana Vertenstein! !-----------------------------------------------------------------------    include 'netcdf.inc'! ------------------------ local variables ------------------------    integer  :: i,j,k,n                 !indices    integer  :: nlon_i                  !number of input data longitudes    integer  :: nlat_i                  !number of input data latitudes    integer  :: ncid                    !netCDF file id     integer  :: dimid                   !netCDF dimension id    integer  :: varid                   !netCDF variable id    integer  :: ret                     !netCDF return code    real(r8) :: lon(lsmlon)             !input longitude array (full grid)    real(r8) :: lat(lsmlat)             !input latitude array (full grid)    real(r8) :: oro(lsmlon,lsmlat)      !input oro field     character(len=256) :: locfn         !local file name    logical  :: lndfrac                 !true if landfrac exists in file !-----------------------------------------------------------------------    write (6,*) 'Attempting to read land grid data .....'    write (6,'(72a1)') ("-",i=1,60)        call getfil (mksrf_offline_fgrid, locfn, 0)    call wrap_open(locfn, 0, ncid)        call wrap_inq_dimid  (ncid, 'lon', dimid)    call wrap_inq_dimlen (ncid, dimid, nlon_i)    if (nlon_i /= lsmlon) then       write(6,*)'RDGRID_OFFLINE: parameter lsmlon= ',lsmlon, &            'does not equal input nlon_i= ',nlon_i       call endrun    endif        call wrap_inq_dimid  (ncid, 'lat', dimid)    call wrap_inq_dimlen (ncid, dimid, nlat_i)    if (nlat_i /= lsmlat) then       write(6,*)'RDGRID_OFFLINE: parameter lsmlat= ',lsmlat, &            'does not equal input nlat_i= ',nlat_i       call endrun    endif    ! Determine grid longitudes for either full or reduced grid! if variable 'rlon' is not on grid file then have full grid! if variable 'rlon' is on grid file then have reduced grid    ret = nf_inq_varid (ncid, 'rlon', dimid)    if (ret == NF_NOERR) then       fullgrid = .false.    else       fullgrid = .true.    endif    if (fullgrid) then       numlon(:) = lsmlon       call wrap_inq_varid (ncid, 'lon' , varid)       call wrap_get_var_realx (ncid, varid, lon)       do j = 1,lsmlat          do i = 1,lsmlon             longxy(i,j) = lon(i)          end do       end do    else       call wrap_inq_varid (ncid, 'nlon' , varid)       call wrap_get_var_int (ncid, varid, numlon)       call wrap_inq_varid (ncid, 'rlon' , varid)       call wrap_get_var_realx (ncid, varid, longxy)    endif! Determine grid latitudes    call wrap_inq_varid (ncid, 'lat' , varid)    call wrap_get_var_realx (ncid, varid, lat)    do j = 1,lsmlat       do i =1,lsmlon          latixy(i,j) = lat(j)       end do    end do! Define land grid edges and grid cell areas    call celledge (lsmlat, lsmlon, numlon, longxy, latixy, &                   lats  , lonw  )    call cellarea (lsmlat, lsmlon, numlon, lats, lonw, &                   area   )! Determine land mask and land fraction    call wrap_inq_varid (ncid, 'ORO' , varid)    call wrap_get_var_realx (ncid, varid, oro)! Get land fraction if it exists, otherwise set according to land mask    ret = nf_inq_varid (ncid, 'LANDFRAC', dimid)    if (ret == NF_NOERR) then       lndfrac = .true.    else       lndfrac = .false.    endif    if (lndfrac) then      call wrap_inq_varid (ncid, 'LANDFRAC' , varid)      call wrap_get_var_realx (ncid, varid, landfrac)      do j = 1,lsmlat         do i = 1,numlon(j)            if (nint(oro(i,j)) == 1) then               landmask(i,j) = 1            else               landmask(i,j) = 0            endif         end do      end do    else      do j = 1,lsmlat         do i = 1,numlon(j)            if (nint(oro(i,j)) == 1) then               landmask(i,j) = 1               landfrac(i,j) = 1.0            else               landmask(i,j) = 0               landfrac(i,j) = 0.            endif         end do      end do    endif    write (6,'(72a1)') ("-",i=1,60)    write (6,*) 'Successfully read land grid data'    write (6,*)  end subroutine read_grid_offline!=======================================================================  subroutine create_grid_offline!----------------------------------------------------------------------- ! ! Purpose: ! Generate land model grid when mode is offline.! ! Method: ! Surface grid edges -- Grids do not have to be global. To allow this, grids ! must define the north, east, south, and west edges:!! If namelist variable mksrf_offline is not the empty string, then the land model! grid will be generated at run time using the settings of the! namelist variables!    o mksrf_offline_fnavyoro : 20 min navy orography dataset!    o mksrf_offline_edgen (edge(1)) : northern edge of grid (degrees): >  -90 and <= 90!    o mksrf_offline_edgee (edge(2)) : eastern edge of grid (degrees) : see following notes!    o mksrf_offline_edges (edge(3)) : southern edge of grid (degrees): >= -90 and <  90!    o mksrf_offline_edgew (edge(4)) : western edge of grid (degrees) : see following notes!! For partial grids, 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, northern and southern edges are 90 (North Pole)! and -90 (South Pole). The western edge of the longitude grid starts ! at the dateline if the grid is generated (the longitudes for each grid ! cell correspond with the edges (i.e., range from -180 to 180)). ! ! Author: Mariana Vertenstein! !-----------------------------------------------------------------------! ------------------------ local variables ------------------------    character(len=256) :: locfn                !local file name    integer  :: i,j,k,n                        !indices    integer  :: ii,ji,io,jo                    !indices    integer  :: ncid                           !netCDF file id     integer  :: dimid                          !netCDF dimension id    integer  :: varid                          !netCDF variable id    integer  :: ier                            !error status       integer  :: nlon_i                         !input number of longitudes    integer  :: nlat_i                         !input number of latitudes    real(r8) :: dx                             !land model cell width    real(r8) :: dy                             !land model cell length    real(r8) :: edge_i(4)                      !input grid: N,E,S,W edges (degrees)    real(r8), allocatable :: latixy_i(:,:)     !input grid: latitude (degrees)    real(r8), allocatable :: longxy_i(:,:)     !input grid: longitude (degrees)    integer , allocatable :: numlon_i(:)       !input grid: number longitude points by lat    real(r8), allocatable :: lon_i(:,:)        !input grid: longitude, west edge (degrees)    real(r8), allocatable :: lon_i_offset(:,:) !input grid: longitude, west edge (degrees)    real(r8), allocatable :: lat_i(:)          !input grid: latitude, south edge (degrees)    real(r8), allocatable :: area_i(:,:)       !input grid: cell area    real(r8), allocatable :: mask_i(:,:)       !input grid: mask (0, 1)    real(r8), allocatable :: fland_i(:,:)      !input grid: fractional land    real(r8) :: mask_o                         !output grid: mask (0, 1)    integer  :: novr_i2o                       !number of overlapping input cells    integer  :: iovr_i2o(maxovr)               !lon index of overlap input cell    integer  :: jovr_i2o(maxovr)               !lat index of overlap input cell    real(r8) :: wovr_i2o(maxovr)               !weight    of overlap input cell    real(r8) :: offset                         !used to shift x-grid 360 degrees        real(r8) :: fld_o(lsmlon,lsmlat)           !output grid: dummy field     real(r8) :: fld_i                          !input grid: dummy field     real(r8) :: sum_fldo                       !global sum of dummy output field    real(r8) :: sum_fldi                       !global sum of dummy input field    real(r8) :: relerr = 0.00001               !max error: sum overlap weights ne 1        real(r8) :: flandmin = 0.50                !minimum land fraction for grid cell to be called land  ! -----------------------------------------------------------------! Set numlon to uniform grid (offline ASSUMES that never have a reduced grid)    numlon(:) = lsmlon! Determine model grid edges    lsmedge(1) = mksrf_offline_edgen    lsmedge(2) = mksrf_offline_edgee    lsmedge(3) = mksrf_offline_edges    lsmedge(4) = mksrf_offline_edgew! Determine grid longitudes and latitudes in increments of dx and dy! Global latitude grid goes from south pole to north pole! Global longitude grid starts at Dateline with western edge on Dateline    dx = (mksrf_offline_edgee - mksrf_offline_edgew) / lsmlon

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品剧情在线观看| 国产成人综合网| 性做久久久久久| 日日夜夜精品视频天天综合网| 国产精品福利一区二区| 亚洲一区二区在线免费看| 视频一区在线视频| 成人黄色在线网站| 欧美日韩精品一区二区在线播放 | 成人免费在线视频观看| 亚洲国产乱码最新视频 | 国产精品成人在线观看| 亚洲男女一区二区三区| 韩国理伦片一区二区三区在线播放| 精彩视频一区二区| 欧美一二三四在线| 亚洲久草在线视频| 成人av在线资源网| 色呦呦日韩精品| 国产日韩欧美高清| 国产在线观看免费一区| 在线播放日韩导航| 亚洲最大成人综合| 色久综合一二码| 亚洲精品v日韩精品| 国产成人av资源| 国产亚洲综合av| 麻豆传媒一区二区三区| 欧美伦理电影网| 视频一区免费在线观看| 欧美视频中文字幕| 亚洲成人激情综合网| 欧美日韩国产综合草草| 亚洲综合丝袜美腿| 欧美女孩性生活视频| 亚洲国产精品久久人人爱蜜臀| 色婷婷激情综合| 日韩专区欧美专区| 欧美一区二区三区免费观看视频| 午夜久久久久久久久久一区二区| 欧美亚洲高清一区| 男女性色大片免费观看一区二区| 精品久久久久久久久久久久包黑料 | 三级不卡在线观看| 久久久精品综合| 91黄色小视频| 韩国女主播一区| 亚洲午夜精品17c| 久久综合九色综合97婷婷| 成人激情黄色小说| 久久精品国产久精国产| 日本一区二区三级电影在线观看 | 99久久精品免费看国产免费软件| 亚洲丝袜制服诱惑| 91精品国产91久久久久久一区二区 | 美女视频一区二区| 午夜精品久久久久久久久久久| 久久精品免视看| 91精品婷婷国产综合久久| 91视频在线观看免费| 国产成人精品影视| 国产精品中文欧美| 精品一区二区在线观看| 日韩在线卡一卡二| 亚洲国产日韩a在线播放性色| 亚洲欧洲av一区二区三区久久| 欧美成人一区二区三区| 欧美videofree性高清杂交| 欧美日韩大陆在线| 4hu四虎永久在线影院成人| 欧美人妖巨大在线| 日韩限制级电影在线观看| 6080日韩午夜伦伦午夜伦| 欧美日韩一区二区三区高清 | 亚洲综合色自拍一区| 亚洲韩国精品一区| 视频一区视频二区中文字幕| 午夜欧美电影在线观看| 蜜桃av一区二区在线观看| 精品一区二区三区欧美| 国产精品一区二区久久不卡| 国产麻豆精品在线| 91国偷自产一区二区使用方法| 91网站最新网址| 91精品久久久久久久久99蜜臂| 91精品免费观看| 国产精品久久久久久亚洲毛片 | 国产女同性恋一区二区| 亚洲影视在线观看| 福利一区二区在线观看| 色婷婷av一区| 欧美激情中文字幕一区二区| 伊人色综合久久天天| 免费高清在线视频一区·| 成人高清免费观看| wwwwww.欧美系列| 亚洲大片精品永久免费| av网站一区二区三区| 日韩免费高清av| 视频一区二区中文字幕| 一本在线高清不卡dvd| 国产精品视频免费看| 日本不卡高清视频| 91精品国产麻豆国产自产在线 | 欧美美女bb生活片| 亚洲综合丝袜美腿| 在线国产亚洲欧美| 亚洲综合免费观看高清完整版 | 欧美伦理视频网站| 日本在线播放一区二区三区| 欧美日韩一级二级三级| 日韩综合小视频| 欧美videos大乳护士334| 国产真实乱偷精品视频免| 亚洲精品在线一区二区| 成人免费视频播放| 一区二区三区四区不卡在线| 欧美日精品一区视频| 亚洲成人免费电影| 欧美tk—视频vk| 成人黄色网址在线观看| 亚洲国产婷婷综合在线精品| 欧美一级生活片| av资源站一区| 久久国内精品自在自线400部| 中文一区二区在线观看| 欧美日韩成人一区| av一区二区久久| 日韩**一区毛片| 亚洲人xxxx| 中文一区一区三区高中清不卡| 欧美亚洲一区三区| 国产激情一区二区三区桃花岛亚洲| 日韩一区在线免费观看| 欧美日本一区二区在线观看| 国产精品91一区二区| 日韩精品一级二级| 一区二区三区四区不卡在线| 国产日韩欧美不卡在线| 制服丝袜激情欧洲亚洲| thepron国产精品| 久久精品av麻豆的观看方式| 18成人在线观看| 日本一区二区三区国色天香| 欧美精品一区二区三区久久久| 欧美三级电影网站| 日韩一区二区免费在线电影 | 激情小说亚洲一区| 奇米888四色在线精品| 蜜臀91精品一区二区三区| 首页欧美精品中文字幕| 麻豆精品视频在线观看免费| 日韩av二区在线播放| 精品午夜一区二区三区在线观看| 午夜私人影院久久久久| 强制捆绑调教一区二区| 精品无人码麻豆乱码1区2区| 国产一区视频导航| av在线不卡免费看| 欧美另类videos死尸| 欧美三级日韩三级| 欧美变态凌虐bdsm| 亚洲欧美在线视频| 麻豆成人免费电影| 色悠悠亚洲一区二区| 精品卡一卡二卡三卡四在线| 成人免费在线视频| 久久精品99国产国产精| 欧美亚男人的天堂| 国产女人18毛片水真多成人如厕 | 国产亚洲女人久久久久毛片| 日韩码欧中文字| 蜜桃av一区二区三区电影| 成人福利视频网站| 欧美精品一区二| 日本中文在线一区| 欧美三级电影在线观看| 亚洲色图欧美激情| 高清免费成人av| 亚洲国产电影在线观看| 激情综合色综合久久综合| 日韩美女天天操| 九九国产精品视频| 精品国产三级a在线观看| 午夜精品一区在线观看| 欧美这里有精品| 日韩影院精彩在线| 欧美顶级少妇做爰| 蜜臀99久久精品久久久久久软件| 日本久久电影网| 日本一区中文字幕| 精品免费国产一区二区三区四区| 无码av免费一区二区三区试看| 欧美日韩一本到| 久久精品理论片| 综合网在线视频| 欧美日本视频在线| 国产69精品久久久久777| 亚洲一区二区欧美日韩| 精品蜜桃在线看|