GenericProduct#
- class stixcore.products.product.GenericProduct(*, service_type, service_subtype, ssid, control, data, idb_versions={}, **kwargs)[source]#
Bases:
BaseProductAttributes Summary
Methods Summary
find_parent_files(root)Convenient way to get access to the parent files.
find_parent_products(root)Convenient way to get access to the parent products.
from_levelb(levelb, *[, parent])getLeveL0Packets(levelb[, keep_parse_tree])Attributes Documentation
- bunit#
- dmax#
- dmin#
- exposure#
- fits_daily_file#
- max_exposure#
- parent#
- raw#
- scet_timerange#
Methods Documentation
- find_parent_files(root)[source]#
Convenient way to get access to the parent files.
Performs a (inefficient) file search in the given root dir for files with the parent name. Not recursive the only the direct parent is returned.
- Parameters:
root (
Path) – The fits root dir in which to find the parent file- Returns:
Path– A list of parent files paths (normally just one).
- find_parent_products(root)[source]#
Convenient way to get access to the parent products.
Performs a (inefficient) file search in the given root dir for files with the parent name. Not recursive the only the direct parent is returned.
- Parameters:
root (
Path) – The fits root dir in which to find the parent file- Returns:
Product– A list of parent Producs (normally just one).