Giter VIP home page Giter VIP logo

cama-flood_v4's Introduction

CaMa-Flood_v4

CaMa-Flood_v4 code on GitHub.

This GitHub repository is mainly used for those who want to make contributions to CaMa-Flood. If you simply want to use CaMa-Flood, please visit the product webpage and register on Google Form. (the password for downloading is issued after registration). Then, you can download the CaMa-Flood package which contains data (map/input) to run the model. http://hydro.iis.u-tokyo.ac.jp/~yamadai/cama-flood/

Now the codes of CaMa-Flood v4 is distributed under Apache 2.0 license (so Open Source!). So you can feel free to use/modify the code. (note: data is distributed under difference license)

If you need to cite CaMa-Flood based on versions (rather than published papers), please refer to Zenodo repository. https://zenodo.org/search?q=parent.id%3A4609654&f=allversions%3Atrue&l=list&p=1&s=10&sort=version

We are also happy to collaborate with external contributers for further development of CaMa-Flood. We are now discussing how to merge contributions from multiple developpers.

Below is a tentative idea.

Branches

  • master : main repository (latest stable code is here).
  • release_v4.XX : the code archive released as v4.XX (Do not modify)
  • develop4XX : development branch based on v4.XX (please fork from here to make a contribution)
  • dev4XX_PROJ : working branch for merging a project (when you make pull request, we creat a specific branch for your project)

When you make some update

  1. Please contact the developper (Dai Yamazaki) in advance to make a discussion on the new scheme to be integrated to CaMa-Food master.

  2. We recommend you to fork the develop4XX branch.

  3. Make some modifications, following the below rules:

  • The added scheme should be turned on/off by switch. Better if it does not affect the original codes when the new scheme is turned off.
  • If the new scheme causes conflict, please discuss with the manager.
  • We appreciate if the sample scripts is prepared to run CaMa-Flood with the new scheme. If possible, please design the scripts ready to be run by someone else. For example, avoid absolute pass, avoid environment dependent shebang (e.g. #!/usr/local/python), describe required library required.
  • If the new scheme require additional data to run, please prepare a sample data required by the new sheme (better if the size of sample data is minimum). However, the data should be kept outside of GitHub. If your new scheme required data, please contact Yamazaki to discuss a better way of data management in CaMa-Flood package.
  1. When your code is ready to be merged, please contact the repository manager (Dai Yamazaki). Then, we create a working branch dev4XX_PROJ for merging your commit.
  • Please fork dev4XX_PROJ, reflect your changes on this branch (only include nesessary changes).
  • If you find a conflict which cannot be solved, please contact the code manager.
  1. Please make a pull request to dev4XX_PROJ branch.
  • If your commit cannot be merged by conflict, we will contact you.
  1. Your new contribution is once merged to dev4XX_PROJ. Yamazaki will perform a test simulations to confirm your contribution works well. Then, the new scheme is merged to develop4XX and master branch, by Yamazaki

cama-flood_v4's People

Contributors

bigasmountain avatar dirkeilander avatar kshy0 avatar menakarevel avatar mhatono avatar risahanazaki avatar t-nitta avatar tpilz avatar zhxdhhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cama-flood_v4's Issues

Error when LINTERP=.FALSE.

Hi,
I get a segmentation fault when setting parameter LINTERP=.FALSE.. I think the reason is that subroutine CMF_INPMAT_INIT_* is only called when LINTERP is set to true but subroutine ROFF_INTERP is called in any case, where it is then missing variables INPX and INPY that are only initialised in CMF_INPMAT_INIT_*.

The error can be reproduced with the examples (I checked with test3-jpn_fcast.sh).

I use version 4.01 (official release 20210331 obtained from the homepage).

Regards,
Tobias

Error saving dam param

I am testing the reservoir operation module and I found a minor issue in trying to save the dam parameters in the following line of code: i.e, is the column name 'year' supposed to be in the list as the 'damcsv2' dataframe does not have the year column?

damcsv2 = damcsv2[['GRAND_ID', 'DamName', 'DamLon', 'DamLat', 'area_CaMa', 'DamIX', 'DamIY', 'FldVol_mcm', 'ConVol_mcm', 'TotalVol_mcm', 'Qn', 'Qf', 'year']]

Error when flood depth downscale

Hi,
I get an error when using version 4.01(official release 20210331 obtained from the homepage) to downscale flood depth. For example, when I use the sample data downscaling(set the time period to August 2000), and the model only outputs the picture of the day at the end of the month like 20000831 or 20000830. Then I checked the run log and found that the output downscale flood depth file is only one day ./flood_20000831.bin . So the visualization step will appear that the files for other dates cannot be found(like file not found error ./flood_20000801.bin and file not found error ./dph20000801.bin )
I think the reason maybe that t01-downscale.sh for parallel computation using multiple CPUs had some mistake, because I'm using a Ubuntu system on a virtual machine(software : VMware) to use CaMa-Flood. But I didn't know how to solve it.

Regards,
HongRui

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.