Skip to content

Commit

Permalink
use isoformat for date-obs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Dec 12, 2024
1 parent e2ab02a commit 6007421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion punchbowl/level3/f_corona_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def construct_polarized_f_corona_model(filenames: list[str], smooth_level: float
p_model_fcorona = fill_nans_with_interpolation(p_model_fcorona)

meta = NormalizedMetadata.load_template("PFM", "3")
meta["DATE-OBS"] = str(reference_time)
meta["DATE-OBS"] = reference_time.isoformat()

Check warning on line 192 in punchbowl/level3/f_corona_model.py

View check run for this annotation

Codecov / codecov/patch

punchbowl/level3/f_corona_model.py#L192

Added line #L192 was not covered by tests
output_cube = NDCube(data=np.stack([m_model_fcorona,
z_model_fcorona,
p_model_fcorona], axis=0),
Expand Down

0 comments on commit 6007421

Please sign in to comment.