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

Home » Public Forums » archive » 2D Array with a different value for every country
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2D Array with a different value for every country [message #94230 is a reply to message #94228] Thu, 02 March 2017 00:55 Go to previous messageGo to previous message
c.betancourt is currently offline  c.betancourt
Messages: 5
Registered: March 2017
Junior Member
> ;plumes of air pollutants matrix of 720x1440 elements
> pap = fltarr(720,1440)
> ;the scale is 0.25x0.25. Take this into account when plotting.
> ;now fill the pap array...
> ...
> ;now generate the emission array:
> emiss = fltarr(720,1440)
-> -> -> emis = ???
> ;must have the same dimensions and scale of the pap array.
> ;now fill the emiss array with the emission values
> ...
> ;the idea is that all the pixels (indices) having coordinates in France will have a value of 0.55 and so on.
> ;now do the hadamard product of two
> result = pap * emiss




Sorry to confuse you. My only problem is that I don“t have an emission array yet. I need something like a world map as an array. A similar problem would be: I would like to plot a world map where france is green, italy is yellow and germany is red. Hope this is precise enough...?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NetCDF version in IDL 8.6?
Next Topic: Use rtv_doit to generat a vector file

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

Current Time: Wed Oct 08 15:10:17 PDT 2025

Total time taken to generate the page: 0.00351 seconds