Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I'd like to import a 3-dimensional netcdf file. Data variable is like this:
- float64 zeta(time, lon, lat)
- current shape = (49, 3000, 1000)
- Looking at the grid domains from the file for time, lon, lat axes: 49, 3000, 1000 (should be translated to rasdaman as [0:48, 0:2999, 0:999]
- source: https://groups.google.com/g/rasdaman-users/c/xhU9w0d8-HM/m/inL7IgxSAQAJ
- **************************************************************************************************************************************
- @rasql encode(clip)@
- <a href="https://groups.google.com/u/1/g/rasdaman-users/c/_zM3ikFvOXw/m/EIYhq3_SAwAJ">Link</a>
- rasql works on grid index coordinates, it doesn't know about geo coordinates. You have to use WCPS if you want to address data with geo coordinates in your queries and get geo-referenced data out of rasdaman.
- curl http://xxx.xx.xxx.xx:8080/rasdaman/ows --data-urlencode \
- 'service=WCS&version=2.0.1&FORMAT=image/tiff&request=ProcessCoverages&query=for c in (HydroCoverage) \
- return encode(c[Lat(42.11:43.12), Long(42.12:43.11)], "tiff")' --output outfile.tiff
- **************************************************************************************************************************************
- ASQLDB has just been finished as a BSc thesis and is not yet prime-time ready. No guarantee (yet) that it works, so probably this introduces an extra risk for you.
- Depending on whether you need geo semantics, you may want to use
- - rasql for accessing the bare arrays
- - petascope and WCS for accessing coverages, ie: arrays with a geo semantics (CRS, geo coordinates, etc)
- <a href="https://groups.google.com/u/1/g/rasdaman-users/c/ZVFMw1PtMvA/m/fyEhYMKyWKUJ">Link</a>
- **************************************************************************************************************************************
- rasdaman base types are up to long = int32. int 64 is also not supported
- <a href="https://groups.google.com/g/rasdaman-users/c/vgm8zqAKPl0">Link</a>
- **************************************************************************************************************************************
Advertisement
Advertisement