seims.preprocess.db_import_stream_parameters Namespace Reference

Classes

class  ImportReaches2Mongo
 

Functions

def get_max_weight (group_weight_dic, group_dic)
 
def adjust_group_result (weight_dic, group_list, n_groups)
 
def main ()
 

Detailed Description

Generate parameters of reaches.

    This script should be updated with the following files/code simultaneously.\n
      1. seims/preprocess/database/model_param_ini.csv: Emend initial parameters;\n
      2. seims/src/seims_main/base/data/clsReach.h(.cpp): Update the reading and checking of data.

    @author   : Liangjun Zhu, Junzhi Liu
    @changelog: 16-12-07  lj - rewrite for version 2.0
                17-06-23  lj - reorganize as basic class
                18-02-08  lj - compatible with Python3.\n
                18-08-13  lj - add erosion related parameters according to readrte.f of SWAT.\n

Function Documentation

◆ adjust_group_result()

def seims.preprocess.db_import_stream_parameters.adjust_group_result (   weight_dic,
  group_list,
  n_groups 
)
Adjust group result

◆ get_max_weight()

def seims.preprocess.db_import_stream_parameters.get_max_weight (   group_weight_dic,
  group_dic 
)
Get max. weight

◆ main()

def seims.preprocess.db_import_stream_parameters.main ( )
TEST CODE