【CMIP6】acccmip6包批量下载cmip6气象数据

1 下载这个包

#下载该工具
pip install acccmip6

2 检索数据
acccmip6 -o S 搜索
acccmip6 -o D 下载
-m : takes model names 模型名称
-e : takes experiment names 采用实验名称
-v : takes variable names 取变量名
-f : takes frequency 需要频率
-r : takes realm name 以领域名称

用法

acccmip6 -o S -m MIROC6 -v vas -f mon -r atmos

搜索大气领域MIROC6模型的月尺度的vas变量
检索结果输出

TIPS: Use the check (-c) argument to check your inputs.


Currently available models based on your search:

['MIROC6']

Currently available variables based on your search:

['vas']

Currently available experiments based on your search:

['hist-piAer', 'ssp119', 'ssp585', 'piClim-NTCF', 'piClim-histall', 'hist-stratO3', 'piClim-OC', 'ssp534-over',
'hist-piNTCF', 'abrupt-4xCO2', 'piClim-anthro', 'piClim-2xfire', 'amip-p4K', 'amip-4xCO2', 'histSST-piAer',
'piClim-lu', 'historical', 'piControl', 'faf-stress', 'piClim-SO2', 'faf-all', 'piClim-control', 'amip-hist',
'ssp370SST-lowBC', 'hist-GHG', 'piClim-2xdust', 'dcppA-hindcast', 'ssp245-stratO3', 'ssp245-aer', 'dcppA-assim',
'ssp460', 'faf-passiveheat', 'amip', 'amip-future4K', 'hist-CO2', 'ssp245', 'ssp370', 'ssp370SST', 'hist-aer',
'ssp434', '1pctCO2', 'ssp245-GHG', 'piClim-aer', 'piClim-histghg', 'ssp126', 'histSST-piNTCF', 'piClim-4xCO2',
'piClim-2xss', 'abrupt-0p5xCO2', 'piClim-BC', 'faf-heat', 'ssp370-lowNTCF', 'abrupt-2xCO2', 'histSST', 'piClim-ghg',
'piClim-histaer', 'faf-water', 'ssp370SST-lowAer']


Number of files: 782


Available realizations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]

                 <===============Exiting now!================>

允许多个输入:以逗号(,)分隔多个项目

3 下载数据
-dir : select directory. If kept blank, acccmip6 will ask for a directory. With no inputs, download will continue in CMIP6 directory.
-rlzn : select realization
-skip : skip items during download

-dir:选择目录。如果保持空白,acccmip6将要求提供目录。没有输入,下载将继续在CMIP6目录中。
-rlzn :选择实现
-skip :在下载过程中跳过项目

用法

acccmip6 -o D -e hist-piNTCF -v vas -m MIROC6

下载hist-piNTCF实验中MIROC6模型的vas变量

检索结果输出

Finding server . . .

Current directory:  /mnt/d/Work/acccmip6_download

Default directory:  /mnt/d/Work/acccmip6_download/CMIP6
Please specify a directory here:

输入下载目录

Finding server . . .

Current directory:  /mnt/d/Work/acccmip6_download

Default directory:  /mnt/d/Work/acccmip6_download/CMIP6
Please specify a directory here:

Selected directory:  /mnt/d/Work/acccmip6_download/CMIP6

/mnt/d/Work/acccmip6_download/CMIP6 doesn't exist. Creating one...



vas_Amon_MIROC6_hist-piNTCF_r1i1p1f1_gn_185001-194912.nc is available!

Downloading  36% |███████████████░░░░░░░░░░░░░░░░░░░░░░░░░| 44/120MB 25.62 MB/s

自己的检索记录

acccmip6 -o S -v pr,tas,tasmin,tasmax,rss -f day

结果输出

TIPS: Use the check (-c) argument to check your inputs.

 Currently available models based on your search:

 ['MIROC6', 'UKESM1-0-LL', 'GFDL-ESM4', 'MPI-ESM1-2-LR', 'CanESM5', 'BCC-ESM1', 'CNRM-ESM2-1', 'CNRM-CM6-1', 'NorESM2-LM', 'CESM2', 'MPI-ESM-1-2-HAM', 'BCC-CSM2-MR', 'CESM2-WACCM', 'MRI-ESM2-0']

Currently available variables based on your search:

 ['tas', 'tasmin', 'pr', 'rss', 'tasmax']

Currently available experiments based on your search:

['esm-1pct-brch-1000PgC', 'ssp370SST-ssp126Lu', 'ssp534-over-bgc', '1pctCO2-rad', 'ssp370pdSST', 'piClim-2xVOC', 'ssp370SST-lowAer', 'histSST-1950HC', 'piClim-CH4', 'ssp370SST-lowO3', 'esm-ssp585', '1pctCO2-cdr', 'amip-future4K', 'piClim-N2O', 'a4SSTice-4xCO2', 'histSST-piN2O', 'hist-1950HC', 'piClim-OC', 'piClim-2xss', 'piClim-O3', 'piClim-2xdust', 'hist-bgc', 'esm-1pct-brch-2000PgC', 'amip', 'histSST-piNTCF', 'histSST-piAer', 'piClim-VOC', 'piClim-2xNOx', 'ssp370-lowNTCF', 'amip-p4K', '1pctCO2Ndep', 'esm-pi-CO2pulse', 'piClim-BC', '1pctCO2-bgc', 'hist-piNTCF', 'piClim-SO2', '1pctCO2Ndep-bgc', 'abrupt-2xCO2', 'piClim-NOx', 'amip-4xCO2', 'a4SSTice', 'ssp370SST-lowBC', 'ssp370SST-lowNTCF', 'histSST-piO3', 'abrupt-0p5xCO2', 'amip-m4K', 'ssp370SST', 'piClim-2xfire', 'piClim-HC', 'a4SST', 'amip-piForcing', 'hist-piAer', 'piClim-NTCF', 'ssp370', 'histSST-piCH4', 'esm-pi-cdr-pulse', 'histSST', 'ssp585-bgc']

Number of files:1943

Available realizations:[1, 2, 3, 4, 5]
  • 6
    点赞
  • 35
    收藏
    觉得还不错? 一键收藏
  • 19
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 19
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值