爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3667|回复: 1

[程序设计] 有全国的降水的nc数据,怎么从里面提取特定流域的数据

[复制链接]

新浪微博达人勋

发表于 2019-2-26 15:29:17 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 wangdapang 于 2019-2-26 20:17 编辑

现在手里有模拟出来的全国降水的nc文件,想从里面提取1986-2005年的某个流域的数据,有流域的范围,下面是nc文件的信息:
Dimensions:
           time      = 1     (UNLIMITED)
           bnds      = 2
           longitude = 283
           latitude  = 163
Variables:
    time     
           Size:       1x1
           Dimensions: time
           Datatype:   double
           Attributes:
                       standard_name = 'time'
                       long_name     = 'time'
                       bounds        = 'time_bnds'
                       units         = 'hours since 1949-12-01 00:00:00'
                       calendar      = 'standard'
                       axis          = 'T'
    time_bnds
           Size:       2x1
           Dimensions: bnds,time
           Datatype:   double
    longitude
           Size:       283x1
           Dimensions: longitude
           Datatype:   double
           Attributes:
                       standard_name = 'longitude'
                       long_name     = 'Longitude'
                       units         = 'degrees_east'
                       axis          = 'X'
    latitude
           Size:       163x1
           Dimensions: latitude
           Datatype:   double
           Attributes:
                       standard_name = 'latitude'
                       long_name     = 'Latitude'
                       units         = 'degrees_north'
                       axis          = 'Y'
    pr      
           Size:       283x163x1
           Dimensions: longitude,latitude,time
           Datatype:   single
           Attributes:
                       standard_name = 'precipitation_flux'
                       long_name     = 'Total precipitation flux'
                       units         = 'kg m-2 s-1'
                       _FillValue    = -8.999999873090293e+33
                       missing_value = -8.999999873090293e+33
                       cell_methods  = 'time: mean'

密码修改失败请联系微信:mofangbao

新浪微博达人勋

 成长值: 32430
发表于 2019-2-26 20:12:48 | 显示全部楼层
inpolygon了解一下
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表