panda提取时间戳中的日期_CMIP6数据提取---Python实现方案

一个月前写了一篇“使用Arcgis处理CMIP6(netCDF)数据的流程”后,一直收到朋友们的私信,也几乎天天都有交流。说来惭愧,后来我放弃了使用Arcgis进行处理这一条路,而是直接采用Python提取栅格点的时间序列数据,进行处理。

目前忙着降尺度的工作,可能会减少在知乎上的交流,因此在这里我会把目前掌握的部分数据提取方法分享出来,希望能帮到大家。


不用写代码的方法:

这个方法是我后面才发现的,优点就四个字:简单粗暴!,缺点是输出格式死板,需要就格式问题调整很久。

首先,你需要在电脑上装有java的环境(别皱眉,只要有环境就行,不需要coding);

然后,点击下面链接,下载panoply(这个软件也有制图的功能,并且成图操作非常简单友好);

https://www.giss.nasa.gov/tools/panoply/​www.giss.nasa.gov

下载好之后打开这个软件,选择nc文件,右边可以看到数据描述性信息,选中要输出的变量,如PR,右键选择export csv,然后等着就行。

不知道为什么一直上传图片失败,图先欠着,下同...

输出之后的csv文件普遍非常大,我示例中最大的一个达到了6g以上。它的数据输出后是这样的,每个时间点的全球数据作为一个矩阵,每一列是同一经度下,每一行是同一纬度下,以分辨率360*720为例,这个矩阵的大小就是(360,720),它是月尺度的,

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Use of NWAI-WG data   So far, NWAI-WG data have been used on a collaborative basis in publications (see the attached file). The major reasons are the data were not widely distributed. They were only used in our group and our collaborative networks. There were some cases with requests of the data made after people read Liu and Zou's (2012) paper. You have two options for using the data. Option 1: Collaboration with us. In this case, we will help you to describe the downscaling method and contribute to other parts of the paper such as comments/suggestions on the papers, if the fields are within our expertise. Option 2: Use of the data on your own. While option 1 for collaboration with us is welcome, option 2 is also highly encouraged, particularly, when the data are used for these research disciplines, rather than agricultural related. Thanks to Professor Yu who provides us with his group's web site (www.agrivy.com) as a media for distribution of the data.   Acknowledgment for option 1  “We acknowledge the modelling groups, the Program for Climate Model Diagnosis and Intercomparison (PCMDI) and the WCRP’s Working Group on Coupled Modelling (WGCM) for their roles in making available the WCRP CMIP5 multi-model dataset. Support of this dataset is provided by the Office of Science, US Department of Energy. Dr. Ian Macadam of the University of New South Wales downloaded the raw GCM monthly data. ”   Acknowledgment for option 2  “We acknowledge the modelling groups, the Program for Climate Model Diagnosis and Intercomparison (PCMDI) and the WCRP’s Working Group on Coupled Modelling (WGCM) for their roles in making available the WCRP CMIP5 multi-model dataset. Support of this dataset is provided by the Office of Science, US Department of Energy. Dr. Ian Macadam of the University of New South Wales downloaded the raw GCM monthly data. Dr. De Li Liu of the NSW Department of Primary Industries used NWAI-WG to downscale downscaled daily data. Also, thanks to AGRIVY (www.agrivy.com) provides us the data for this study.”
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值