Giter Site home page Giter Site logo

dicrivers's Introduction

Build Status Binder docs

DICRIVERS

A preprocessing tool to specify river biogeochemistry input for ocean models

This tool is intended to be use by ocean modelers to specify river concentrations of nutrients or other biogeochemical variable of interest (DIC, Alkalinity,...). It produces gridded fields of river concentrations from a pandas.dataframe Its name is a tribute to singer Dick Rivers, who made a living covering american classic tunes in french with a significant loss in musicality. See full documentation here:

dicrivers at readthedocs.org

To run binder examples, click on the launch binder badge then go to the doc folder to find notebooks.

dicrivers's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dicrivers's Issues

Question about the plume spreading algorithm

Thanks again for this package. I just experimented a bit and I noticed that the spreading algorithm does produce a 'box-shaped' field away from the coast.

As far as I can tell, the approach is to dilate the original location n times until a predefined box is full.

  1. Could the same result be obtained by simply filling the initially defined plume_zoom and then applying the mask? This would be a lot faster I assume

  2. If the above would work, we could simply draw a mask using different shapes (e.g. with scikit-image), which might create more 'well behaved' tracer fields (might be more relevant for the spreading of runoff actually).

Or am I missing something important here?

Make search for rspread optional?

The current version looks for a column named rspread in the input dataframe here.

I suggest that we make this optional, so that we have a keyword argument make_bgc_river_input(rspread=...). If an integer is passed we used that on each river, if a string is passed that columname will be used (enabeling more flexibility with the input) and if None is passed the river is not spread at all.

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.