Closed elynnwu closed 2 years ago
The first pass of netcdf monitor did not work for gpu backend, this PR fixes the issue.
to_numpy
.view
quantity.data_array
Before submitting this PR, please make sure:
pace-util
Purpose
The first pass of netcdf monitor did not work for gpu backend, this PR fixes the issue.
Code changes:
to_numpy
whenever.view
is referenced. Whenquantity.data_array
is called, make DataArray from quantity directly.to_numpy
to be used for both zarr and netcdfto_numpy
addedChecklist
Before submitting this PR, please make sure:
pace-util
, HISTORY has been updated