Skip to content

Jiangchao3/CaMa-Flood_v4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

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 code is here).
  • release_v4.00: the code archive released as v4.00 (Do not modify)
  • dev_XXX: development & test for project XXX

When you make some update

  1. We recommend you to fork the "master" branch. (or fork "dev_XXX" if you want to check the confrict with ongoing works not yet merged to "master".)

  2. 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 (#!/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, please check the conflict with the latest master version. (as master might be updated during your work).
  • If you find a conflict which cannot be solved, please contact the code manager.
  1. If there is no conflict, please contact the CaMa-Flood manager. We will create a new branch (e.g. dev_YYY) to merge your contribution.

  2. Please push your new contribution to "dev_YYY" branch.

  3. Your new contribution is once merged to "dev_YYY". Yamazaki will perform a test simulations to confirm your contribution works well. Then, the new scheme is merged to the "master" branch.

About

CaMa-Flood_v4 development master

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Fortran 74.0%
  • Shell 17.8%
  • Python 7.2%
  • Makefile 1.0%