Advertisement
aghoshpro

Rasdaman Establish Facts

Jul 4th, 2023 (edited)
130
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I'd like to import a 3-dimensional netcdf file. Data variable is like this:
  2. float64 zeta(time, lon, lat)
  3. current shape = (49, 3000, 1000)
  4. 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]
  5.  
  6. source: https://groups.google.com/g/rasdaman-users/c/xhU9w0d8-HM/m/inL7IgxSAQAJ
  7.  
  8. **************************************************************************************************************************************
  9. @rasql encode(clip)@
  10. <a href="https://groups.google.com/u/1/g/rasdaman-users/c/_zM3ikFvOXw/m/EIYhq3_SAwAJ">Link</a>
  11.  
  12. 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.
  13.  
  14. curl http://xxx.xx.xxx.xx:8080/rasdaman/ows --data-urlencode \
  15. 'service=WCS&version=2.0.1&FORMAT=image/tiff&request=ProcessCoverages&query=for c in (HydroCoverage) \
  16. return encode(c[Lat(42.11:43.12), Long(42.12:43.11)], "tiff")' --output outfile.tiff
  17.  
  18. **************************************************************************************************************************************
  19. 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.
  20. Depending on whether you need geo semantics, you may want to use
  21. - rasql for accessing the bare arrays
  22. - petascope and WCS for accessing coverages, ie: arrays with a geo semantics (CRS, geo coordinates, etc)
  23.  
  24. <a href="https://groups.google.com/u/1/g/rasdaman-users/c/ZVFMw1PtMvA/m/fyEhYMKyWKUJ">Link</a>
  25.  
  26. **************************************************************************************************************************************
  27.    
  28. rasdaman base types are up to long = int32. int 64 is also not supported
  29. <a href="https://groups.google.com/g/rasdaman-users/c/vgm8zqAKPl0">Link</a>
  30.  
  31. **************************************************************************************************************************************
Tags: rasdaman
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement