From 457537f70234cb773bc13cc0fbc19bb84ccf60ad Mon Sep 17 00:00:00 2001 From: devsjc <47188100+devsjc@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:07:18 +0000 Subject: [PATCH] feat(postprocess): Strip right back - better to avoid postprocessing --- .../internal/entities/postprocess.py | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/src/nwp_consumer/internal/entities/postprocess.py b/src/nwp_consumer/internal/entities/postprocess.py index 1b0a0187..b17cd90d 100644 --- a/src/nwp_consumer/internal/entities/postprocess.py +++ b/src/nwp_consumer/internal/entities/postprocess.py @@ -30,22 +30,6 @@ class PostProcessOptions: i.e. nothing occurs by default. """ - standardize_coordinates: bool = False - """Whether to standardize the coordinates of the data. - - Note that this doesn't refer to interpolation: rather, it makes - the coordinates adhere to the usual directionality and regionality - within the circular space, i.e.: - - - Latitude values should be in the range and direction [+90, -90] - - Longitude values should be in the range and direction [-180, 180] - - Y values should be in descending order - - X values should be in ascending order - """ - - rechunk: bool = False - """Whether to rechunk the data.""" - validate: bool = False """Whether to validate the data. @@ -60,9 +44,6 @@ class PostProcessOptions: `_. """ - zip: bool = False - """Whether to zip the data.""" - plot: bool = False """Whether to save a plot of the data.""" @@ -71,10 +52,7 @@ def requires_rewrite(self) -> bool: """Boolean indicating whether the specified options necessitate a rewrite.""" return any( [ - self.standardize_coordinates, - self.rechunk, self.codec, - self.zip, ], ) @@ -82,11 +60,8 @@ def requires_postprocessing(self) -> bool: """Boolean indicating whether the specified options necessitate post-processing.""" return any( [ - self.standardize_coordinates, - self.rechunk, self.validate, self.codec, - self.zip, self.plot, ], )