Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

misc

get_folder_size(folder_path)

Description:

Get the total size of a folder in bytes.

Parameters:

Returns:


loggingInfo(lvl=logging.INFO)

Description:

Set the logging level.

Parameters:

Returns:


tPrint(s)

Description:

Print the time along with the message.

Parameters:

Returns:


drange(start, stop, step)

Description:

Generate a range object with decimal points.

Parameters:

Returns:


getHistIndex(hIdx, val)

Description:

Get the index of a specific value within a list of histogram values.

Parameters:

Returns:


listSum(inD)

Description:

Get the total value of a list.

Parameters:

Returns:


getHistPer(inD)

Description:

Convert list of values into percentage of a total.

Parameters:

Returns:


createFishnet(xmin, xmax, ymin, ymax, gridHeight, gridWidth, type='POLY', crsNum=4326, outputGridfn='')

Description:

Create a vector fishnet inside the defined range.

Parameters:

Returns:


explodeGDF(indf)

Description:

Convert multi-part geometries into separate rows in a GeoDataFrame.

Parameters:

Returns: