Created
November 20, 2024 08:41
-
-
Save mdsumner/b9a8e07299281cc265139f7a06b5248d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```R | |
prj <- "+proj=stere +lat_0=-90 +lon_0=100 +lat_ts=-70" | |
library(raadtools) | |
files <- read_amsr2_3k_ice(returnfiles = TRUE) | |
files <- files[nrow(files):1, ] | |
im <- vapour::gdal_raster_data(files$fullname[1], target_ext = e, target_crs = prj) | |
p <- reproj::reproj(cbind(99.3, -64.5), prj, source = "EPSG:4326") | |
e <- rep(p, each = 2) + c(-1, 1, -1, 1) * 180000 | |
im <- vapour::gdal_raster_data(files$fullname[1], target_ext = e, target_crs = prj) | |
ximage::ximage(im) | |
library(SOmap) | |
SOmap_auto(c(96, 104), c(-72, -66)) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment