comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Extracting data over land surface and exclude data over ocean in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Extracting data over land surface and exclude data over ocean in IDL [message #91411] Fri, 10 July 2015 11:23
siumtesfai is currently offline  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 )
[Message index]
 
Read Message
Previous Topic: RETURNING VALUES FROM FUNCTIONS
Next Topic: How to extract Geokey & Geotag from GeoTiff file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:56:49 PDT 2025

Total time taken to generate the page: 0.00378 seconds