Skip to content

Commit 92fd9de

Browse files
Fix doc and example
1 parent 565b687 commit 92fd9de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ File("/path/to/output.ttl").outputStream.use { output ->
5151
```
5252
Java:
5353
```
54-
BinaryArray ba = NetCdfBinaryArray.create(inputLoc, "http://test.binary-array-ld.net/example");
54+
BinaryArray ba = NetCdfBinaryArray.create("/path/to/input.ttl", "http://test.binary-array-ld.net/example");
5555
Model model = ModelBinaryArrayConverter.convert(ba);
5656
57-
try (OutputStream output = new FileOutputStream(outputLoc)) {
57+
try (OutputStream output = new FileOutputStream("/path/to/output.ttl")) {
5858
model.write(output, "ttl");
5959
}
6060
```

binary-array-ld-demo/src/main/java/net/bald/NetCdfConvertJava.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public static void convert(String inputLoc, String outputLoc, String format) thr
2121
}
2222

2323
public static void convert() throws Exception {
24-
convert("/path/to/input.nc", "/path/to/input.ttl", "ttl");
24+
convert("/path/to/input.nc", "/path/to/output.ttl", "ttl");
2525
}
2626
}

0 commit comments

Comments
 (0)