cf.Bounds.add_file_location

Bounds.add_file_location(location)[source]

Add a new file location in-place.

All data definitions that reference files are additionally referenced from the given location.

New in version 3.15.0.

Parameters
location: str

The new location.

Returns
str

The new location as an absolute path with no trailing path name component separator.

Examples

>>> d.add_file_location('/data/model/')
'/data/model'