Coder Social home page Coder Social logo

download-met-data's Introduction

Download ERA5 Data and convert the GRIB to ARL files

What is it?

This tool downloads weather data from the ERA5 dataset (https://www.ecmwf.int/en/forecasts/dataset/ecmwf-reanalysis-v5) from CDS (https://cds.climate.copernicus.eu/) and converts the GRIB files to ARL files using the era52arl tool, which is part of HYSPLIT (https://www.arl.noaa.gov/hysplit-2/).



How to set it up?

Dependency management with poetry: https://python-poetry.org/docs/#installation

Set up the project interpreter:

# Create virtual environment (a local copy of python)
python3.9 -m venv .venv

# Activate virtual environment
source .venv/bin/activate

# Install dependencies
poetry install


How to run it?

  1. Use the file config.example.json to create a config.json file in your project directory for your setup

  2. Run the script

    1. Either use the dates specified in config.json ...

      python3.9 run.py
    2. ... or pass the date to use to the program as an inline parameter:

      python3.9 run.py 20211016

Request will be cached in the cache/ directory. Please do not remove or empty this directory.

download-met-data's People

Contributors

dostuffthatmatters avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

download-met-data's Issues

Regarding the downloading of ERA5 in the cluster or cloud

Hi Moritz,

We need to clarify now that all the steps are implemented in the computer cloud, instead of the cluster. I will document the steps on how to download the data in the cluster in our Wiki and afterward, we can add this information to the README file. The compilation steps will be claimed in the wiki but the template used for generating the python scripts will keep the same, I would imagine. I will keep you updated and just record the message here.

Cheers

Xinxu

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.