-
Notifications
You must be signed in to change notification settings - Fork 4
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
New Jupyter Notebook for CARRA on Height Levels - Downloading datasets and Preparing them for analysis #180
Comments
Hi @FabioMangini, The notebook you shared is empty. |
Hi @malmans2, Here's a new notebook: I created it to download:
between September 1990 (in the text above I mistakenly referred to January 1992) and November 2024 . I have an issue with this script. I get the following the error message when I run it:
I was wondering whether you could help me solve this issue. |
Hi @FabioMangini, Is the notebook intended to download all the data you need? If you'd like me to cache the data, I can do that and will notify you once it's available on the VM. Regarding the issue: In the old VM there used to be a shared Create your own config file in import os
os.environ["CDSAPI_RC"] = os.path.expanduser("~/mangini_fabio/.cdsapirc") If you don't know how to create your .cdsapirc, you can follow these instructions: https://github.com/ecmwf/cdsapi?tab=readme-ov-file#configure |
Hi @malmans2, Thanks for the explanation. I will follow the procedure you suggest.
Yes, it would be great if you cached the data. Thanks! I would like to ask you two more questions about the Jupyter Notebook:
|
This can be tricky as we need to access the whole timeseries at once (i.e., we have to use
This shouldn't be a problem as the data is chunked over time. Using Let's resume the discussion once the data is on disk. I have a few meetings now. I'll have a look to the code you shared in the afternoon and I will start downloading data if I have no questions. |
Hi @malmans2, perfect! Thank you very much. |
Hi @FabioMangini, I still didn't get to cache your data. I'm doing the same for other evaluators and it's taking longer than what I thought. |
Hi @malmans2, It is fine with me. Thank you very much for letting me know and for your help. |
Notebook description
Good morning,
I would like to create a Jupyter Notebook that evaluates the ability of ERA5 and CARRA to estimate the energy production of onshore wind farms in northern Norway. I am writing to you because I was wondering if you could help me with downloading the datasets and preparing them for the analysis.
The energy produced by a wind turbine is related to the wind speed at the turbine's height. So, I was wondering whether you could create a Jupyter Notebook that downloads the:
zonal and meridional components of the wind field from the ERA5 hourly reanalysis data on single levels at 100m height (https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels?tab=download)
wind speed from CARRA-West and CARRA-East on height levels at 75m and 100m height (https://cds.climate.copernicus.eu/datasets/reanalysis-carra-height-levels?tab=download)
since January 1992.
Once the datasets have been downloaded, I was wondering whether you compute the climatological mean of the wind speed from CARRA-West and CARRA-East? They would help identify the locations that are most suitable for setting up new wind farms by showing climatological wind speed values.
The Jupyter Notebook would also like to focus on individual wind farms and understand how well ERA5 and CARRA can estimate their energy production. For simplicity, the Jupyter Notebook would first consider a single wind farm. This is the Dønnesfjord wind farm, which is located at 70.63°N and 22.46°E and became operative in 2022. So, I was wondering if you could create a script that extracts the wind speed from ERA5 and CARRA-East at 70.63°N and 22.46°E since January 2022.
To conclude, I was also wondering if it were possible for you to use python to download and store into a pandas DataFrame the wind power produced by the Norwegian wind farm. The data are available at: https://www.nve.no/media/16891/vindprod2002-2023_kraftverk_utcplus1.xlsx.
Thank you very much.
Notebook link or upload
wind_power_estimation.ipynb.zip
Anything else we need to know?
No response
Environment
name: wp5
channels:
dependencies:
prefix: /data/common/miniforge3/envs/wp5
The text was updated successfully, but these errors were encountered: