Code Monkey home page Code Monkey logo

m.swim's People

Contributors

mwort avatar rouxter avatar tpilz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sluedtke tpilz

m.swim's Issues

Problem with m.swim.substats catchment_id

Grass vector subbasins created by m.swim.subbasins contains column catchmentID but m.swim.substats tries to create a new column based on input catchment_id by calculating averages of catchment_id (catchment raster) for each subbasin. In cases where subbasins and catchments do not fit exactly (e.g. due to cleaning) this introduces artificial catchment IDs that do not exist.

cat column of subbasins map

Hi @mwort,

I wonder if it wouldn't be wise to keep the cat column in the subbasins' attribute table? In the current workflow of m.swim.subbasins it is removed and subbasinID used as key column. However, GRASS seems to be quite fond of the cat column. For instance, I imported the subbasins map into R for some subsequent analyses and when writing it back to GRASS the column was silently added which screwed up my following workflow. Namely, m.swim.camaflood then uses automatically the cat instead of subbasinID column as now cat is used as key column.

How do you think about that?

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.