Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pebau authored Dec 13, 2023
1 parent f962740 commit 2381488
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,23 @@ WCPS allows processing, aggregation, fusion, and more on datacubes with a high-l
```
for $c in ( A )
return
encode( $c [ date( "2018-05-22" ), ( 332796 : 380817 ), N( 6029000 : 6055000 ) ], "png" )
encode( $c [ date( "2018-05-22" ), ( 332796 : 380817 ), N( 6029000 : 6055000 ) ], "png" )
```

Such a query can be sent through the WCS Processing request:

```
https://fairicube.rasdaman.com/rasdaman/ows
? SERVICE=WCS & VERSION=2.1.0 & REQUEST=ProcessCoverages
& QUERY=for $c in ( A ) return encode( $c [ date( "2018-05-22" ), ( 332796 : 380817 ), N( 6029000 : 6055000 ) ], "png" )
& QUERY=for $c in ( A ) return encode( $c [ date( "2018-05-22" ), ( 332796 : 380817 ), N( 6029000 : 6055000 ) ], "png" )
```

Again, be reminded that ["http URL-encoding"](https://www.urlencoder.io/) needs to be applied before sending.

So far, each coverage has been processed in isolation. Data fusion is possible through “nested loops”:

```
for $a in ( A ), $b in ( B )
for $a in ( A ), $b in ( B )
return encode( $a + $b, "png" )
```

Expand Down

0 comments on commit 2381488

Please sign in to comment.