Hello Jeff,
I just wanna give feedback on what got me going here:
data preparation
### data is loaded from a CSV file
###
lats = y # data[:,0]
## lon => x
lons = x # data[:,1]
## values => z
values = z #data[:,2]
###
lat_uniq = list(set(lats.tolist()))
nlats = len(lat_uniq)
lon_uniq = list(se
Hello Jeff,
> Timme: Here's one way to do it
many thanks so far. I still have to inspect and improve my script. But
at least your code lead me to some contourd surface.
I will come back and tell if it worked. Unfortunately I cannot disclose
the data nor the results because of copyright issues.
Tim Michelsen wrote:
> Hello,
> thanks.
> I checked again from contour_demo.py of the basemap distribution.
>
> There lats, lons are uniquely monoton increasing from 0-360 and from -90 to
> 90.
> In my case data is written row-by-row:
> * increasing from lowest latitude western most longitude to e
Hello,
thanks.
I checked again from contour_demo.py of the basemap distribution.
There lats, lons are uniquely monoton increasing from 0-360 and from -90 to 90.
In my case data is written row-by-row:
* increasing from lowest latitude western most longitude to easternmost
longitude and then increas
Tim Michelsen wrote:
> Hello Jeff,
>
>
- Points stored in the above descripbed format (lat, lon, value)?
> This one I solved using a m.scatter() function
>
>
- Interpolate a grid of data points by using different interpolation
methods like inverse distance whe
Hello Jeff,
> >> - Points stored in the above descripbed format (lat, lon, value)?
This one I solved using a m.scatter() function
> >>- Interpolate a grid of data points by using different interpolation
>>> methods like inverse distance wheighting, natural neighbor
interpolation, etc. to ge
Jeff Whitaker wrote:
> Tim Michelsen wrote:
>
>> Dear Matplotlib-Users,
>> I am tryring to create a contour plot over a basemap.
>>
>> My main problem is creating the array for the Z values as a basis for the
>> plt.contour command from a CSV file where latitude, longitude and value are
>> store
Tim Michelsen wrote:
> Dear Matplotlib-Users,
> I am tryring to create a contour plot over a basemap.
>
> My main problem is creating the array for the Z values as a basis for the
> plt.contour command from a CSV file where latitude, longitude and value are
> stored column-wise:
>
> lat; lon;v
Dear Matplotlib-Users,
I am tryring to create a contour plot over a basemap.
My main problem is creating the array for the Z values as a basis for the
plt.contour command from a CSV file where latitude, longitude and value are
stored column-wise:
lat;lon;value
50; 10; 6
...
The d