Skip to content

Commit

Permalink
Merge pull request #66 from ecmwf/bug/fix_traj_for_climate_dt
Browse files Browse the repository at this point in the history
Bug/fix traj for climate dt
  • Loading branch information
awarde96 authored Feb 10, 2025
2 parents 66c829e + a01df9e commit f1abfc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions covjsonkit/encoder/Path.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ def from_polytope(self, result):
if len(fields["l"]) == 0:
fields["l"] = [0]

if len(fields["s"]) == 0:
fields["s"] = [0]

logging.debug("The values returned from walking tree: %s", range_dict) # noqa: E501
logging.debug("The coordinates returned from walking tree: %s", coords) # noqa: E501
logging.debug("The fields: %s", fields)
Expand Down
2 changes: 1 addition & 1 deletion covjsonkit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.3"
__version__ = "0.1.4"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pandas
orjson
datetime
#datetime
#numpy=1.26.4
xarray
pandas~=2.2.0
Expand Down

0 comments on commit f1abfc9

Please sign in to comment.