I am going to use a binary files (climate variable for the globe ) that can be downloaded from here:
ftp://sidads.colorado.edu/pub/DATASETS/nsidc0301_amsre_ease_grid_tbs/global/
This file is a binary (matrix) file with 586 lines and 1383 columns
(global map).
I would like to extract a value that is at 100 longitude and 50 latitude
.
I can extract any point using x and y using:
X<-450 ; Y<-145
extract<-vector()
file<- readBin(conne, integer(), size=2, n=586*1383, signed=T)
file2<-t(t(matrix(data=file,ncol=1383,nrow=586)))
extract[file2]<-file2[X,Y]
More info:
These data are provided in EASE-Grid projections global cylindricalat 25 km resolution, are two-
byte
Spatial Coordinates:
N: 90° S: -90° E: 180° W: -180°
But my question is how to know to its lat and long? Any idea pleas
See Question&Answers more detail:os