Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Update CI to use theme similar to Py-ART. Also fixing the code to remove some warnings. #863

Merged
merged 11 commits into from
Oct 30, 2024
2 changes: 1 addition & 1 deletion act/qc/qc_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def create_qc_summary(

history_value = (
f"Quality control summary implemented by ACT-{version} at "
f"{datetime.datetime.utcnow().replace(microsecond=0)} UTC"
f"{datetime.datetime.now(datetime.timezone.utc).replace(microsecond=0)} UTC"
)

if 'history' in list(return_ds.attrs.keys()):
Expand Down
2 changes: 1 addition & 1 deletion act/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def change_units(
KeyError,
pint.errors.DimensionalityError,
pint.errors.UndefinedUnitError,
np.core._exceptions.UFuncTypeError,
np._core._exceptions.UFuncTypeError,
):
if raise_error:
raise ValueError(
Expand Down
Loading