hydromt_sfincs.components.forcing.SfincsPressure#

class hydromt_sfincs.components.forcing.SfincsPressure(model: SfincsModel)[source]#
__init__(model: SfincsModel)[source]#

Methods

__init__(model)

clear()

Clear the data attribute.

close()

Clean up all open datasets.

create(press[, buffer, dst_res, fill_value])

Setup pressure forcing from a gridded spatially varying data source.

finish_write()

Finish the write functionality after cleanup was called for all components in the model.

read([filename])

Read meteo data from file.

read_gridded([filename, rename])

Read in gridded meteo data.

read_uniform(variable[, filename])

Read in spatially uniform precipitation data.

set(data[, name])

Add data to grid.

test_equal(other)

Test if two components are equal.

write([filename, fmt])

Write meteo data to file.

write_gridded([filename, rename])

Write spatially varying meteo file as netcdf.

write_uniform(variable[, filename, fmt])

Write uniform meteo file.

Attributes

data

Meteo data.

data_catalog

Return the data catalog of the model this component is associated with.

model

Return the model object this component is associated with.

name_in_model

Find the name of the component in the parent model components.

root

Return the root of the model this component is associated with.