TNO Intern

Commit 67bd87b0 authored by Arjo Segers's avatar Arjo Segers
Browse files

Do not pack coordinate variables.

parent 0d31d7f2
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#   Added "CheckDir" method.
#
# 2024-01, Arjo Segers
#   Updated comment.
#   Do not pack coordinates. Updated comment.
#

########################################################################
@@ -554,11 +554,12 @@ class CSO_File(object):

        # pack?
        if packed:
            # loop over coordinates:
            for cname in self.ds.coords.keys():
                # set packing parameters:
                Pack_DataArray(self.ds[cname])
            # endfor # variables
            # ... do not pack coordinates ...
            ## loop over coordinates:
            # for cname in self.ds.coords.keys():
            #    # set packing parameters:
            #    Pack_DataArray(self.ds[cname])
            ##endfor # variables
            # loop over variables:
            for vname in self.ds.keys():
                # set packing parameters: