Closed DaniJonesOcean closed 1 month ago
Update: tried above, no luck. Still hangs, no files downloaded or saved.
One option would be to download ERA5 ourselves.
For ConvNP example:
For Active Learning example:
@eredding02 Good news! I downloaded a sample of ERA5 and was able to get the active learning notebook to run:
I've given you access to the Google Drive folder with the sample data and the above Google Colab notebook - let me know if you run into any access issues.
Closing because we've resolved this by downloading some sample data ourselves
Description: The
get_era5_reanalysis_data
function in the DeepSensor package hangs indefinitely at the "Downloading ERA5 data from Google Cloud Storage..." step. This issue prevents further progress in sensor placement experiments for our GreatLakes-TempSensors project.Steps to Reproduce:
Call the
get_era5_reanalysis_data
function with relevant parameters. For example:Suggested Fixes: Here are some suggestions provided by developer Tom Andersson to address the issue:
Update DeepSensor Package: Ensure you are using the latest stable version of the DeepSensor package (I think we are):
Verify that you are using version
v0.3.7
or later.Set
num_processes
Argument: Try setting thenum_processes
argument to 1 to avoid using multiprocessing:Verbose Mode: Enable verbose mode to check the number of processes being used:
Download Smaller Data Chunks: Attempt to download a smaller amount of ERA5 data instead of the default 20 years:
Google Colab Authentication: If running in Google Colab, ensure proper authentication:
Additional Notes:
tqdm
progress bar might not update correctly when using multiprocessing in a notebook. Usingtqdm.notebook
might resolve this, but it has not been confirmed.Slack Discussion: Below is the Slack thread where Tom and Dani discussed this issue. You can refer to this conversation for more context and additional troubleshooting steps.
https://establishingt-utt8550.slack.com/archives/C05NQ76L87R/p1720204678896329
Expected Behavior: The
get_era5_reanalysis_data
function should download the ERA5 data without hanging, and the progress bar should update appropriately.Current Behavior: The function hangs indefinitely with no progress in downloading data.