Code Monkey home page Code Monkey logo

opendrift-landmask-data's Introduction

Opendrift Landmask Data

These files are simplified shapes generated from the GSHHS dataset where connected shapes are joined. These are useful for checking points aginst a landmask quickly.

These are provided under the LGPL3 LICENSE in the same way as the original work.

Generating simplified shapes and raster-images

Run regenerate.py or rasterize.py. The resulting mask is compressed using xz. The final files are checked into the source code.

opendrift-landmask-data's People

Contributors

gauteh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opendrift-landmask-data's Issues

np.bool is deprecated

opendrift_landmask_data-0.7-py3.9.egg/opendrift_landmask_data/mask.py:297: DeprecationWarning: np.bool is a deprecated alias for the builtin bool. To silence this warning, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here.

Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Issue with reading CMEMS data - Wrong naming of functions

Hi,

I have tried utilizing the OpenDrift example CMEMS data, which utilizes the Landmask functionality. Currently if you run the function, you would have to rename the "mask.py" function to Landmask.py under the subfolder: opendrift_landmask_data in order for the model to be able to run

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.