TNO Intern

Commit c5f630b0 authored by Arjo Segers's avatar Arjo Segers
Browse files

Merge branch 'sesam' into 'master'

Updated packaging.

See merge request !20
parents c98d43dd 1e10307e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ dependencies = [
    "earthaccess",
    "requests",
    "typer",
    "python-magic",
]

[project.urls]
+5 −2
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@
#   Set flag to avoid warnings when decoding time arrays from VIIRS files.
#
# 2025-09, Arjo Segers
#   Let 'GetData' return all attributes rather than just 'units'.
#
# 2025-09, Arjo Segers
#   Improved speed of CSO_Listing.Selection method.
#
# 2025-10, Arjo Segers
@@ -684,7 +687,7 @@ class CSO_File(object):

    def GetData(self, varname):
        """
        Return data values and units for named variable.
        Return data values and attributes for named variable.
        """

        # check ...
@@ -703,7 +706,7 @@ class CSO_File(object):
        # endif

        # ok
        return self.ds[varname].values, self.ds[varname].attrs["units"]
        return self.ds[varname].values, self.ds[varname].attrs

    # enddef GetData