Comments (7)
Hi @obeles ,
Configuration wise this is the strcutre and settings in the atlite
package config.py
.
sid
and sis
are subdirectories, containing the single .nc
files of the respective variable.
> ~/miniconda3/envs/pypsa-eur/lib/python3.7/site-packages/atlite$ tree -d /home/pypsa/share/atlite-sarah2/data/sarah
/home/pypsa/share/atlite-sarah2/data/sarah
├── sid
└── sis
2 directories
> ~/miniconda3/envs/pypsa-eur/lib/python3.7/site-packages/atlite$ cat config.py | grep sarah
sarah_dir = '/home/pypsa/share/atlite-sarah2/data/sarah'
The .cdsapirc
file is setup in my home directory ~
to utilise the ERA5 download (aux. data also required for SARAH cutouts).
To create a cutout, the standard script should work (and does for me):
import atlite
cutout = atlite.Cutout(
"my_cutout",
cutout_dir="./",
module="sarah",
xs=slice(-5, 5),
ys=slice(65., 60.),
years=slice(2013,2013),
months=slice(1,3))
cutout.prepare()
Hope that helps.
from atlite.
Hi Obeles,
cutout creation with SARAH-2 is poorly documented in the moment.
This will change with the upcoming version which I hope to finish reviewing soon.
To create a cutout from SARAH-2 data, you need to:
- Download the raw SARAH-2 data first
- extract SID and SIS data into two folders
SID/
andSIS/
in a joint directory, e.g.sarah/SIS/
andsarah/SID
. - Point
SARAH_DIR
inconf.py
to the parent directorysarah
Then try the creation again.
from atlite.
https://wui.cmsaf.eu/safira/action/viewDoiDetails?acronym=SARAH_V002_01
from atlite.
Okay, yes. Modifying the path of the cutout through my terminal seems to have done the trick. Thanks again!
from atlite.
Hi euronion,
Thank you for the quick reply! I am a bit new to these topics, is there any chance I could bother you for a link of where I can find these SARAH-2 raw datasets. I attempted finding them myself but didnt have much luck.
Thank you for all the help!
from atlite.
Hi, @euronion, I have several questions regarding the documentation of Atlite with Cordex dataset, which I think maybe suitable to put here.
Do you have any example/document of Atlite (the current version V0.0.2 or the upcoming V0.2) working with the Cordex data?
It seems that I should download all the 9 variables (influx, outflux, etc...) and store them into 9 folders in the same directory?
Do the variable "CWT" mean "compute working team"? I cannot find this variable in the Cordex output variable list.
Is it possible to prepare a cutout with only a subset of the 9 variables with Cordex?
Thank you in advance!
from atlite.
Hi @euronion ,
I am still having some trouble creating the cutout with SARAH data following your instructions. Is there any chance you could share some code that you have utilized that does indeed work that way I can troubleshoot more effectively?
Thank you!
from atlite.
Related Issues (20)
- hydro not compatible with normalize_using_yearly option HOT 2
- Add heuristic for ERA5 download chunk sizes HOT 3
- Incorrect unit conversion in hydro inflow shift
- ERA5 Solar Position Time Shift Broken for Certain Time Spans HOT 5
- Cutout AttributeError: "EntryPoints" object has no attribute get in Colab HOT 2
- Question about runoff conversion HOT 3
- Include xarray-spatial
- pad_extent leads to rasterio error for global scape
- Licence description on PyPI incorrect HOT 1
- Error cannot convert float nan to int HOT 10
- Issue with build_cutout using alite HOT 5
- reanalysis-era5-single-levels HOT 3
- Atlite errors with ESRI:540060 reprojections and Fiji HOT 4
- Read from url for `excluder.add_raster` and `excluder.add_geometry` HOT 2
- PV conversion: New model based on Bloomfield et al. (2019)
- Wind Conversion: potential bug when power curve does not end with zero after cutout speed HOT 1
- Weather/climate data variable descriptions (for alternate model data use) HOT 2
- Problems with `convert_and_aggregate` for long timespans? HOT 12
- Data type error when building cutout with SARAH v3 HOT 3
- Merging cutouts / Integrate downloaded SARAH data into existing ERA-5 cutout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atlite.