Commit 692de30b authored by Cynthia Crowley's avatar Cynthia Crowley

Merge branch 'remove-exactextract-nco' into 'master'

Avoid postprocessing exactextract outputs with ncks

Closes #78

See merge request !27
parents 81ec5e2a 868d5913
Pipeline #75990028 passed with stages
in 19 minutes and 52 seconds
......@@ -138,15 +138,7 @@ def exact_extract(*,
return Step(
targets=output,
dependencies=[gdaldataset2filename(ds) for ds in rasters.values()] + [boundaries],
commands=[
cmd,
['ncks',
'-O', # overwrite
'-L0', # enable level-0 compression
'-4', # convert to netCDF4. exactextract writes NC3 and then R ncdf4 library will refuse to append to it.
'--fix_rec_dmn', 'id', # convert unlimited id dim to fixed dim. Without this R ncdf4 will not append.
output, output]
],
commands=[cmd],
comment=comment
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment