Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何不解析数据,只下载原文件? #17

Open
aiwei169 opened this issue Dec 3, 2021 · 1 comment
Open

请问如何不解析数据,只下载原文件? #17

aiwei169 opened this issue Dec 3, 2021 · 1 comment

Comments

@aiwei169
Copy link

aiwei169 commented Dec 3, 2021

我不想直接读取netcdf4然后转成nc存到本地,想直接下载原始的文件,比如EC数据,我想直接下载bz2文件或者grib文件,然后自己在本地进行解析,雷达数据 也是,直接下载bz2或者bin格式,而不是用接口获取dataset数据
请问如何实现这一操作?我看函数里的dataformat默认是json的

@NMC-DAVE
Copy link
Member

NMC-DAVE commented Dec 9, 2021

你是指从大数据云平台下载数据吗?可以参考 cmadaas_get_obs_files 这个函数,通过获取文件的url地址,然后可以使用python的urllib.request.urlretrieve函数来下载。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants