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

Question: Problems with download historical data #11

Open
marcelooyaneder opened this issue Apr 19, 2022 · 2 comments
Open

Question: Problems with download historical data #11

marcelooyaneder opened this issue Apr 19, 2022 · 2 comments

Comments

@marcelooyaneder
Copy link

Hi, hope you're doing well.

I've trying to download data from the historical server from the following coordinates (-32.77946054543407, -70.9403806772067), so i've been running the next line:

python get_gfs_hist.py -t 0 10 -x -71 -69 -y -33 -31 -c example_conf_hist.json 20200101 00

but i've got the following error:
Downloading 20200101 00... [20200101 00] AttributeError: 'str' object has no attribute 'data'
Traceback (most recent call last):
File "get_gfs_hist.py", line 347, in main
verbose=args.verbose,
File "get_gfs_hist.py", line 234, in save_dataset
for time in time_list
File "get_gfs_hist.py", line 234, in
for time in time_list
File "get_gfs_hist.py", line 79, in get_sequential
for var in dataset
File "get_gfs_hist.py", line 79, in
for var in dataset
AttributeError: 'str' object has no attribute 'data'

So... i was wondering if i can get any help here with this download.
Thanks in advance.

@albertotb
Copy link
Owner

Sorry for the late reply. The NOAA keeps changing the archived data every few months, so the scripts break from time to time. Right now I've just uploaded an example script where you can get some historical data, get_gfs_hist_xarray.py. You have some more information on what data is available where on this issue: #9 (comment)

@albertotb
Copy link
Owner

I've also found this https://rda.ucar.edu/datasets/ds084.1/

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