expreccs.utils.reg_sit_given_decks module

Utiliy script for creating a deck with projected pressures from given regional and site decks.

expreccs.utils.reg_sit_given_decks.check_intersection(dic, ind, gind, i, n)

Check if there are nnc in the regional/site overlapping

Args:

dic (dict): Global dictionary

ind (int): Index for the closest cell

gind (int): Global cell index in the regional model

i (int): Position of the x, y, or z coords

n (int): Position for the cardinal direction

Returns:

lines (list): Horizontal and vertical lines in the regional model

expreccs.utils.reg_sit_given_decks.check_regional_neighbours(dic, gind, p, n)

Add to the interpolator neighbouring regional cells

Args:

dic (dict): Global dictionary

gind (int): Global cell index

p (str): Cardinal direction

n (int): Side number

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.create_deck(dic)

Create a deck from given reg and site decks with projected pressures

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.dynamic_mapping(dic)

Project the pressures from the regional to the site over time

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.extract_site_borders(dic)

Get the index/coord from the site border

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.find_ij_orientation(dic)

Find if the counting is left/right handed

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.find_regional_cells(dic)

Find the cells to build the interpolator

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.handle_grid_coord(dic)

Process the regional and site grid coordinates

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.project_pressures(dic, i)

Project the pressures at restart number i

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

expreccs.utils.reg_sit_given_decks.write_files(dic)

Write the files with the projected pressures

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary