Coder Social home page Coder Social logo

efas's Introduction

Jupyter EFAS

In this repository you will find several Jupyter Notebook examples on how to:

Read the EFAS Grib in Python using eccodes and cfgrib Retrieve an EFAS Grib from the CDS API. Convert the EFAS Grib to NetCDF Plot the EFAS NetCDF using Matplotlib, cartopy and basemap. Plot a discharge timeseries for a point on the river network. Calculate and plot the Soil Moisture.

In order to clone this repository use :

git clone --recurse-submodules https://github.com/enyfeo/efas.git

We have added some data files in the data folder

You will need to

git lfs pull to retrieve the files

In order to provide the correct environment we have provided a docker file that you can download within this git repository.

You will need to download an appropriate docker installation for your system. Information can be found here Docker Hub Install - Docker CE.

Once you have installed the docker software, you will need the docker image.

Pull the Latest Docker Image

It can be pulled from docker hub or built locally. Pulling is faster.

docker pull enyfeo/efas:latest

Once it has completed you can start the container using the conmmand for the image pulled from docker hub:

docker run --publish 8888:8888 --volume ${PWD}:/home/jovyan/ enyfeo/efas:latest start-notebook.sh --NotebookApp.token=''

N.B. Windows Users should use the path 'c:/efas' or wherever they checkedout the git repository instead of ${PWD}

Building the Docker Locally

This can be built locally (takes some time to source the packages) using :

docker build docker -t jupyter-cds -f docker/dockerfile

Or if you built the image you just have to make sure you match the tag (-t)

docker run --publish 8888:8888 --volume ${PWD}:/home/jovyan/ jupyter-cds:latest start-notebook.sh --NotebookApp.token=''

As an alternative users who would prefer to install the software directly can follow the instructions here

Installation of ECCodes

Installation of CFGRIB

Installation of NetCDF4

The Jupyter notebooks are limited by resources as they are a container with only the resources available to them. Installing the software will give the fastest results when processing EFAS Data.

The Jupyter Notebooks are there as a guide on how to begin with the EFAS Data.

efas's People

Contributors

enyfeo avatar chrisgoddard avatar

Stargazers

Benjamin avatar  avatar Fabian Neumann avatar

efas's Issues

Data must be 1-Dimensional ERROR

Hello,
We are getting "Data must be 1-Dimensional" error on runtime. I think the error is about dsloc and climloc arrays. Could you please suggest a solution for this problem ?

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.