whole globe but shift the grid 180 so that great britain would
be in the center of the map rather than being cut at the edge.
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> Hi Jeff,
>>
>> Thanks for the quick reply! I've updated to the latest shiftgri
gland):
http://old.nabble.com/file/p27824785/Global-HTSGW_DIRPW-0.png
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> Hi all,
>>
>> I am getting a 'cyclic point not included' error using shiftgrid on a
>> grib
>> file from NOAA. I've c
Hi all,
I am getting a 'cyclic point not included' error using shiftgrid on a grib
file from NOAA. I've checked and it seems that the file has the lons from 0
to 359.5 every .5 degree but I get that error whenever I try to run this.
What I need to achieve is to shift the grid from 0 / 360 to -1
both coordinate lists and provides the proper land contours while contourf
seems to be off?
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> Hi all,
>>
>> I have a weird thing happening with basemap and I am not sure if it's
>> basemap or me, but m
Hi all,
I have a weird thing happening with basemap and I am not sure if it's
basemap or me, but more than likely it's me :(
Here is the grib file that I am using:
http://downloads.75ive.com/multi_1.20090321.t18z_multi_1.wc_10m.all.grb2
http://downloads.75ive.com/multi_1.20090321.t18z_multi_1.wc
--
View this message in context:
http://www.nabble.com/basemap-error-or-user-error--tp23017751p23017751.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
--
This SF.net email is sponsored by:
H
Thanks, that's exactly what i was looking for!
Anton
Jae-Joon Lee wrote:
>
> I guess you want this.
>
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.filled.html#numpy.ma.filled
>
> -JJ
>
>
> On Sat, Apr 11, 2009 at 3:36 PM, antonv wrote:
Hi all,
Another noob question here. I have a large masked array that I am plotting
with "contourf" and because of the masked array i am getting jagged edges.
If i could replace the masked data with a value that I supply then it will
interpolate and give me the nice feathered edges that I need.
pyngl, if i remember correctly I looked at it but it was not working
on windows.
Thanks,
Anton
efiring wrote:
>
> antonv wrote:
>> I have a bit of experience programming and I am pretty sure I get my
>> parts of
>> the code pretty well optimized. I made sure that in the
I have a bit of experience programming and I am pretty sure I get my parts of
the code pretty well optimized. I made sure that in the loop I have only the
stuff needed and I'm loading all the stuff before.
The biggest bottleneck is happening because I'm unpacking grib files to csv
files using Deg
Hi all,
I am processing a lot of grib data from noaa with the use of matplotlib and
basemap. On my actual laptop (p4 3ghz, 512mb ram) the whole process takes
close to 3 hours... so it's time for a new machine but still on a very tight
budget :)
My main question is what should i emphasize more, a
t; use mafromtxt (for example) using space as a delimiter, and specify
> the columns you want to use with usecols (that way, you can get rid of
> the column with the '*'). The missing data should be taken into
> account properly.
>
> Let me know how it goes.
> P.
Dear all,
I know this is not related to matplotlib but this seems to be the only place
where I found people that have knowledge of both NOAA data and python so
please bear with me.
The .bull file that NOAA gives for upload is an ascii file formatted for
human readability but it creates a lot of
Thanks again! That looks cool and seems that it can be used it to a lot of
other projects I have going on!
Anton
efiring wrote:
>
> antonv wrote:
>> Thanks for the quick reply John! Now it makes a lot more sense. The next
>> dumb
>> question is what is SVN and where
Thanks for the quick reply John! Now it makes a lot more sense. The next dumb
question is what is SVN and where can I find more bout it?
John Hunter-4 wrote:
>
> On Fri, Jan 16, 2009 at 10:33 AM, antonv
> wrote:
>>
>> I have a series of 18 separate colors to create my
I have a series of 18 separate colors to create my cmap but I would like to
convert that to a continuous map which interpolates all the other values in
between my chosen colors. This should be really easy but I am not sure how
can it be solved. Any ideas?
Thanks,
Anton
--
View this message in co
:
>
> antonv wrote:
>> Ok. Then what do you think would be the best way to have a smooth graph
>> like
>> the contourf but with the data shown by pcolor? The best of both worlds
>> in
>> other words :)
>>
>> Thanks,
>> Anton
>
> Anton,
>
&
Ok. Then what do you think would be the best way to have a smooth graph like
the contourf but with the data shown by pcolor? The best of both worlds in
other words :)
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> When plotting the same ocean data with contourf or pcolor
When plotting the same ocean data with contourf or pcolor I noticed a
difference at the edge between ocean area and the land where there is no
data. Basically, contourf is trimming from the edge and when using basemap
you can see the underlying fill color. Is this normal behaviour or am I
doing so
Hi all,
I have an issue with the colormap for my plots. The data I'm plotting ranges
between 0 and 24 but I am trying to have the colormap display values from 0
to 30. What happens is that the colormap reads the min and max values in my
data and uses those disregarding the vmin and vmax set.
Her
a specific
> data type of just the last column
>
> # read in only column 5, as a specific dtype, and exclude the column 5
> heading
> col5_no_header = np.loadtxt(filename, skiprows=1, usecols=(5),
> dtype=dtype, unpack=True)
>
>
> -Patrick
>
>
>
>
>
&
a
> into numpy arrays and pass the resulting arrays arround.
>
> -Patrick
>
>
>
>
>
>
> On Sat, Jan 3, 2009 at 11:21 AM, antonv wrote:
>>
>> Hi all,
>>
>> I have a lot of csv files to process, all of them with the same number of
>> c
Hi all,
I have a lot of csv files to process, all of them with the same number of
columns. The only issue is that each file has a unique column name for the
fourth column.
All the csv2rec examples I found are using the r.column_name format to
access the data in that column which is of no use fo
to 8 values from the file. How can I force it to use
all the 21 values in the colormap?
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> Hey Jeff,
>>
>> I've got it sorted out a bit now. You're right the data was an output
>> from
>> Degrib
had no idea how easy
you can work with huge arrays!
My new issue is that I need to mask the land areas in the Z array so I would
have a clean plot over the basemap. Any ideas on how to achieve that?
Thanks,
Anton
Jeff Whitaker wrote:
>
> antonv wrote:
>> It seems that I just cannot gr
rom 3 files, one for Lat one for Long and the Last for Z
Data. Is there a way to automatically extract the data from the grib file to
a format similar to the one used in the basemap example?
Jeff Whitaker wrote:
>
> Mauro Cavalcanti wrote:
>> Dear Anton,
>>
>> 2008/12/23 ant
).
> I don't have time right now to work that out for your data. Anyway, I
> think you'll be happier in the long run if you bite the bullet now and
> learn how to use PyNIO to read the data.
>
> -Jeff
>> Thanks a lot!
>> Anton Vasilescu
>>
>>
Better yet, here is the file that I am using on my testing but keep in mind
that it's a 33mb file:
http://downloads.75ive.com/enp.t18z.grib.grib2
antonv wrote:
>
> Here is the link to the folder that has the grib files. They are updated
> every 3 hours:
> ftp://ftpprd.ncep.
Here is the link to the folder that has the grib files. They are updated
every 3 hours:
ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/wave/prod/
Any of the files there would have the same info only at different times of
day.
--
View this message in context:
http://www.nabble.com/Plotting-NOAA-d
Hi Jeff, here is a link to the csv file:
http://downloads.75ive.com/testdata.csv
Thanks again for all your help guys! Really appreciated!
Ryan May-3 wrote:
>
> KURT PETERS wrote:
>> Sorry, I meant the griddata module as part of mlab.
>> Kurt
>>
>
> It was first released in 0.98.3.
>
> Ryan
urf(xi,yi,zi,15,cmap=plt.cm.jet)
plt.colorbar() # draw colorbar
plt.show()
Which still errors out: 'output grid defined by xi,yi must be monotone
increasing'
The xi and yi are from the first 2 columns of the csv file and I thought
they were monotonically increasing. What am I missing?
Hi all,
I am pretty new to matplotlib and I have a big issue... I am trying to plot
data from a grib file from noaa and I am not sure what's the best way to go
about it. Until now, I am extracting the data i need in CSV files but I am
not able to plot it. Here is a sample of the code that I am us
32 matches
Mail list logo