Skip to content
Snippets Groups Projects
Commit 5b1be154 authored by Michael Langguth's avatar Michael Langguth
Browse files

Removed missing relict of hickle-package in 'process_netCDF_v2.py'

parent 83b52575
Branches
Tags
No related merge requests found
Pipeline #42177 failed
......@@ -68,8 +68,9 @@ def process_data(directory_to_process, target_dir, job_name, slices, vars=("T2",
X = np.array(EU_stack_list)
# ML 2020/07/15: Make use of pickle-files only
target_file = os.path.join(target_dir, 'X_' + str(job_name) + '.hkl')
hkl.dump(X,target_file)
target_file = os.path.join(target_dir, 'X_' + str(job_name) + '.pkl')
with open(target_file, "wb") as data_file:
pickle.dump(X,data_file)
#target_file = os.path.join(target_dir, 'X_' + str(job_name) + '.pkl')
#hkl.dump(X, target_file) #Not optimal!
print(target_file, "is saved")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment