Skip to content

Commit

Permalink
integrate_nodes_to_master (#1034) - located and marked the origin of …
Browse files Browse the repository at this point in the history
…the test-failure in 'test_advection.py', failing the Linux and MacOS tests
  • Loading branch information
CKehl committed Jul 15, 2021
1 parent a93f8f0 commit 82af10a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parcels/particlefile/baseparticlefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def close_netcdf_file(self):
self.dataset.close()

def _create_trajectory_file(self, fname, data_shape):
# ==== This is the line that currently fails the tests - the new netcdf package seems to
# ==== use a different signature, making that call fail with an internal pedantic-warning
# ==== interpretation of the underlying HDF5 library.
self.dataset = netCDF4.Dataset(fname, "w", format="NETCDF4")
self.dataset.createDimension("obs", data_shape[1])
self.dataset.createDimension("traj", data_shape[0])
Expand Down

0 comments on commit 82af10a

Please sign in to comment.