AustralianAntarcticDivision / raadtools

Tools for Synoptic Environmental Spatial Data
http://australianantarcticdivision.github.io/raadtools/
24 stars 3 forks source link

ramp dem #70

Closed raymondben closed 5 years ago

raymondben commented 6 years ago

sidads.colorado.edu/pub/DATASETS/nsidc0082_radarsat_dem_v02/200M/BINARY/

it has two versions, relative to two different geoids. see http://nsidc.org/data/nsidc-0082

mdsumner commented 6 years ago

blueant trail https://github.com/AustralianAntarcticDivision/blueant#radarsat-antarctic-digital-elevation-model-v2

mdsumner commented 6 years ago

Oh ffs I linked the wrong issue ...

mdsumner commented 6 years ago

The tar.gz is still .tar - is this bb's first tarball?

raymondben commented 6 years ago

Arg, yes it is. Hrumph.

mdsumner commented 6 years ago

happy to proceed with a function if you just manually untar, save the bb stuff for later?

raymondben commented 6 years ago

Manual untar done. bb should be able to use utils::untar without too much drama. I hope.

mdsumner commented 6 years ago

Looking good now

library(raadtools)
readtopo("ramp")
class       : RasterLayer 
dimensions  : 24580, 28680, 704954400  (nrow, ncol, ncell)
resolution  : 200, 200  (x, y)
extent      : -2868000, 2868000, -2458000, 2458000  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : sidads.colorado.edu/pub/DATASETS/nsidc0082_radarsat_dem_v02/200M/ARCINFO/osu91a200m/osu91a200m/w001001.adf 
names       : w001001 
values      : 0, 5022  (min, max)
attributes  :
         ID     COUNT
 from:    0 363199754
 to  : 5022         2