Closed kjordahl closed 8 years ago
Can you also update the script that pulls down the netcdf files for the cached data to get this new one?
Can you also update the script that pulls down the netcdf files for the cached data to get this new one?
Will do. Also the --cached
flag is broken, because it doesn't actually use them.
Yes, I was just looking at fixing that now.
One bug that needs to be fixed before merging this is that going past the end of the forecast data kills it. Should handle 404's gracefully.
Actually working now, with minor glitches remaining. The number of time steps switches correctly, but the length of the slider doesn't reflect that, for example.
It still doesn't handle 404s gracefully, it just avoids them in the common case of switching to a data source with fewer steps available.
Set the default number of frames to 30 for now for consistency with the forecast data. This makes switching back and forth easier. Changing the number of frames will need some work to update the slider (otherwise it would still be possible to drag it past the end of the data).
I think this is ready to merge now.
LGTM
Except for the bug i just introduced.
Introduce multiple data sources. Currently can toggle between forecast and hindcast.
Not quite complete, needs to update timestamps on switching data sources, and clean up a few more things.