Giter VIP home page Giter VIP logo

Comments (7)

euronion avatar euronion commented on June 11, 2024 2

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.

euronion avatar euronion commented on June 11, 2024 1

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/ and SIS/ in a joint directory, e.g. sarah/SIS/ and sarah/SID.
  • Point SARAH_DIR in conf.py to the parent directory sarah

Then try the creation again.

from atlite.

coroa avatar coroa commented on June 11, 2024 1

https://wui.cmsaf.eu/safira/action/viewDoiDetails?acronym=SARAH_V002_01

from atlite.

obeles avatar obeles commented on June 11, 2024 1

Okay, yes. Modifying the path of the cutout through my terminal seems to have done the trick. Thanks again!

from atlite.

obeles avatar obeles commented on June 11, 2024

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.

fang1103 avatar fang1103 commented on June 11, 2024

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.

obeles avatar obeles commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.