Coder Social home page Coder Social logo

csiro-easi / eocsi-hackathon-2022 Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 30.41 MB

Notebooks and materials for the EOCSI Hackathon 2022, https://frontiersi.com.au/climate-innovation-hack/

License: Apache License 2.0

Shell 0.01% Jupyter Notebook 17.46% HTML 82.43% Python 0.10%

eocsi-hackathon-2022's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

frontiersi

eocsi-hackathon-2022's Issues

Create a WOfS notebook

Create a WOfS demo notebook based on our previous work around Lake Tempe. The WOfS algorithm are pulled from GA's repositories and the DEM from lpdaac data. An installation script is required to install dependencies and should be made as seamless to use as possible for the Hackathon participants. An HTML version should also be provided, as usual.

Create TSS notebook

Write a TSS case-studies notebook to demonstrate measuring TSS from remote sensing data over Lake Tempe.

Accessing Dask Cluster Dashboard

When creating a Dask cluster and client using existing EASI code, I don't get the behaviour I would typically expect based on my experience in DE Africa. The code I am using is

from dask.distributed import Client, LocalCluster

# Connect to an existing LocalCluster if available
# The default port is 8786
try:
    client = Client(f'localhost:8786', timeout='2s')
    cluster = client.cluster  # None
except:
    cluster = LocalCluster(scheduler_port=8786)
    client = Client(cluster)

display(cluster if cluster else client)

This returns the dashboard url as http://127.0.0.1:8787/status but when I follow this link, I find that the site can't be reached, and the dashboard does not display.

If I use the following, I get the behavoiur I expect, with the dashboard url being listed as https://hub.asia.easi-eo.solutions/user/<username>/proxy/<port>/status which I can view.

from datacube.utils.dask import start_local_dask

client = start_local_dask()

display(client)

What's the correct practice for starting a Dask Cluster on EASI and getting access to the Dashboard?

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.