Inherits object.
Static Public Member Functions | |
def | cal_dis (x1, y1, x2, y2) |
def | idw (x, y, loc_list) |
def | thiessen (x, y, loc_list) |
def | generate_weight_dependent_parameters (conn, maindb, subbsn_id) |
def | climate_itp_weight_thiessen (conn, db_model, subbsn_id, geodata2dbdir) |
def | workflow (cfg, conn, n_subbasins) |
Spatial weight and its related data
|
static |
calculate distance between two points
|
static |
Generate and import weight information using Thiessen polygon method. Args: conn: db_model: workflow database object subbsn_id: subbasin id geodata2dbdir: directory to store weight data as txt file
|
static |
Generate some parameters dependent on weight data and only should be calculated once. Such as PHU0 (annual average total potential heat units) TMEAN0 (annual average temperature) added by Liangjun, 2016-6-17
|
static |
IDW method for weight This function is not used currently
|
static |
Thiessen polygon method for weights
|
static |
Workflow