starepandas.STAREDataFrame.write_pods#

STAREDataFrame.write_pods(pod_root, level, chunk_name, hex=True, path_format=None, append=False, temporal_chunking=None, compress=None)#

Writes dataframe into a STAREPods hierarchy.

Appends the dataframe to the pod (pickle), if it exists.

Returns list of pods written.

Parameters:
pod_root: str

Root directory of STAREPods

level: int

level of STAREPods

chunk_name: str

name of the pod

hex: bool

toggle pods being hex vs int

path_format: str

defines how pods are to be named default: ‘{pod_root}/{pod}/{chunk_name}’

append: bool

toggle appending to existing pods (default: False) Not implemented.

temporal_chunking: dict

toggle writing into temporal pods (default: None) Supported options… - {‘partitioning’:’granule’} - {‘partitioning’:’pod’,’resolution’:16 } # 16 => month chunk (28 days)