Extracting data over land surface and exclude data over ocean in IDL [message #91411] |
Fri, 10 July 2015 11:23 |
siumtesfai
Messages: 62 Registered: April 2013
|
Member |
|
|
Hello all,
I have climate model output data in IDL sav file format and NCDF file.
Dimension of the data
Sz=size (DATA)
longitude= sz(1) : 0-360 degree
latitude = Sz(2) : -90S to 90N
pressure = Sz(3) : 1000hPa to 10hPa
time = Sz(4) : 1979 to 2005
The data is global. I can extract regions . For example , North america domain by restricting my longitude and latitude. That is easy. I would use "Where" command
E.g lat=where( latitude GE lat1 and latitude LT lat2)
lon =where( longitude GE lon1 and longitude LT lon2)
DATA1=data(lon,lat,*,*)
My question is how can you extract only data at the continental north america over land. I am not interested in analyzing data over the oceans ( i.e North Pacific and Atlantic )
|
|
|