Skip to content

Commit 3d082bb

Browse files
committed
Document NetCDF output; update changelog
1 parent c4f8a1b commit 3d082bb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Support writing of stage-out STAC by notebook (#32)
1515
* Make viewer work on non-default ports (#21)
1616
* Improve dynamic example notebook
17+
* Support NetCDF output (#28)
1718

1819
## Changes in 0.1.0
1920

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ parameters cell and make them available as command-line parameters for the
3333
output script and container, and as workflow parameters for the application
3434
package.
3535

36+
# Customizing output formats
37+
38+
An xcengine-generated script or image can automatically write all
39+
`xarray.Dataset` objects from the notebook code to disk, for example to be
40+
staged out as EO Application Package outputs. By default, Zarr format is
41+
used, but this can be changed to NetCDF on a per-dataset basis by applying
42+
an attribute:
43+
44+
```python
45+
my_dataset.attrs["xcengine_output_format"] = "netcdf"
46+
```
47+
3648
# xcetool usage
3749

3850
xcengine provides a command-line tool called `xcetool`, which has several

0 commit comments

Comments
 (0)