You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(3) |
2
(5) |
3
(11) |
4
|
|
5
|
6
(8) |
7
(4) |
8
(4) |
9
(2) |
10
(4) |
11
(1) |
|
12
(3) |
13
(3) |
14
(5) |
15
(11) |
16
(8) |
17
(5) |
18
(3) |
|
19
(1) |
20
(6) |
21
(7) |
22
(5) |
23
(6) |
24
(4) |
25
(5) |
|
26
|
27
(1) |
28
(13) |
29
(4) |
30
(2) |
31
(8) |
|
|
From: ChaoYue <cha...@gm...> - 2013-05-13 17:28:58
|
Dear Scott,
I am sorry for giving no reply. Thanks for your answer. I tried it and it
works fine.
best ,
Chao
On Tue, Apr 30, 2013 at 1:21 PM, Scott Sinclair-4 [via matplotlib] <
ml-...@n5...> wrote:
> Forgot to send to the list <sigh>
>
>
> ---------- Forwarded message ----------
> From: Scott Sinclair <[hidden email]<http://user/SendEmail.jtp?type=node&node=40977&i=0>>
>
> Date: 30 April 2013 13:20
> Subject: Re: [Matplotlib-users] Basemap plotting data on projection
> To: ChaoYue <[hidden email]<http://user/SendEmail.jtp?type=node&node=40977&i=1>>
>
>
>
> On 29 April 2013 23:32, ChaoYue <[hidden email]<http://user/SendEmail.jtp?type=node&node=40977&i=2>>
> wrote:
> > pdata = np.genfromtxt('pdata.txt')
> > pdata = np.ma.masked_greater(pdata,1E20)
> > lonm,latm=m.makegrid(pdata.shape[1],pdata.shape[0])
>
> The problem is here ^^^
>
> The data don't lie on an equally spaced grid in the Mercator
> projection, so it doesn't make sense to ask for the lat/lon
> coordinates of a grid that is equally spaced in this projection. You
> need to determine the *actual* lat/lon coordinates before projecting
> them onto the Mercator map and plotting...
>
> Something like this should work (If you can assume that the data are
> on an equally spaced grid in Equidistant Cyl projection having the
> boundaries specified):
>
> from mpl_toolkits.basemap import Basemap
> import matplotlib.pyplot as plt
>
> # Set up the Equidistant Cyl projection to determine data locations.
> pdata = np.genfromtxt('pdata.txt')
> pdata = np.ma.masked_greater(pdata, 1E20)
> ny, nx = pdata.shape
>
> cyl_basemap = Basemap(projection='cyl', llcrnrlat=9, urcrnrlat=54.5,
> llcrnrlon=74, urcrnrlon=142, lat_ts=20,
> resolution='l')
> lon, lat = cyl_basemap.makegrid(nx, ny)
>
> # Set up the Mercator projection for plotting.
> m = Basemap(projection='merc', llcrnrlat=9, urcrnrlat=54.5,\
> llcrnrlon=74, urcrnrlon=142, lat_ts=20, resolution='l')
> m.drawcountries()
> m.drawcoastlines()
> m.drawmapboundary(fill_color='white')
> m.drawrivers()
>
> x, y = m(lon, np.flipud(lat))
> cs = m.contourf(x, y, pdata)
> m.colorbar(cs)
> plt.show()
>
> Cheers,
> Scott
>
> ------------------------------------------------------------------------------
>
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Matplotlib-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=40977&i=3>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://matplotlib.1069221.n5.nabble.com/Basemap-plotting-data-on-projection-tp40973p40977.html
> To start a new topic under matplotlib - users, email
> ml-...@n5...
> To unsubscribe from matplotlib, click here<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=Y2hhb3l1ZWpveUBnbWFpbC5jb218MnwxMzg1NzAzMzQx>
> .
> NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Basemap-plotting-data-on-projection-tp40973p41044.html
Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Tony Yu <ts...@gm...> - 2013-05-13 14:20:03
|
On Mon, May 13, 2013 at 9:14 AM, Tony Yu <ts...@gm...> wrote:
>
>
>
> On Sat, May 11, 2013 at 7:08 PM, Colin McAuliffe <cj...@co...>wrote:
>
>> To add to the previous email I've tried this with a few different
>> backends with no luck. Have similar issues been found when creating videos
>> with mencoder? If the final result is the same switching away from ffmpeg
>> is fine.
>
>
> Sorry for the delayed reply. I don't have mencoder on my system, but it's
> probably worth a try. More comments below.
>
> Quoting Colin McAuliffe <cj...@co...>:
>>
>>>
>>> The above error does not occur if I switch to agg.
>>>
>>> Also using the ffmpeg command
>>>
>>> ffmpeg -f image2 -i t%d.jpg video.avi
>>>
>>> on a few images gives the following output, where I put !! next to the
>>> lines which are suppressed by including -loglevel quiet
>>>
>>> FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
>>> built on May 2 2013 23:13:41 with llvm_gcc 4.2.1 (Based on Apple
>>> Inc. build 5658) (LLVM build 2336.9.00)
>>>
>>
> <snip>
>
> !!Output #0, avi, to 'video.avi':
>>> !! Metadata:
>>> !! ISFT : Lavf52.93.0
>>> !! Stream #0.0: Video: mpeg4, yuv420p, 4272x2848, q=2-31, 200 kb/s,
>>> 25 tbn, 25 tbc
>>> Stream mapping:
>>> Stream #0.0 -> #0.0
>>> Press [q] to stop encoding
>>> frame= 3 fps= 2 q=4.0 Lsize= 524kB time=0.12
>>> bitrate=35781.7kbits/s
>>> video:519kB audio:0kB global headers:0kB muxing overhead 1.083673%
>>>
>>
> So the line starting with "frame=" doesn't get suppressed when you run
> with `-loglevel quiet`? I actually thought those were the problematic lines
> (since more of those get printed out for longer encoding tasks). Maybe this
> is an issue with the ffmpeg version?
>
> Unfortunately, I don't have much free time to reply in more depth.
>
> Best,
> -Tony
>
>
Oh, yeah: If you just want to try something to get this working, try
setting the verbosity level:
import matplotlib
matplotlib.verbose.set_level('debug')
Assuming this is the same issue as PR 989, redirecting stdout to the
command line will prevent the buffer issues. (You'll get a lot of debug
output printed to the command line, though).
Hope that helps,
-Tony
|
|
From: Tony Yu <ts...@gm...> - 2013-05-13 14:14:47
|
On Sat, May 11, 2013 at 7:08 PM, Colin McAuliffe <cj...@co...>wrote: > To add to the previous email I've tried this with a few different backends > with no luck. Have similar issues been found when creating videos with > mencoder? If the final result is the same switching away from ffmpeg is > fine. Sorry for the delayed reply. I don't have mencoder on my system, but it's probably worth a try. More comments below. Quoting Colin McAuliffe <cj...@co...>: > >> >> The above error does not occur if I switch to agg. >> >> Also using the ffmpeg command >> >> ffmpeg -f image2 -i t%d.jpg video.avi >> >> on a few images gives the following output, where I put !! next to the >> lines which are suppressed by including -loglevel quiet >> >> FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers >> built on May 2 2013 23:13:41 with llvm_gcc 4.2.1 (Based on Apple >> Inc. build 5658) (LLVM build 2336.9.00) >> > <snip> !!Output #0, avi, to 'video.avi': >> !! Metadata: >> !! ISFT : Lavf52.93.0 >> !! Stream #0.0: Video: mpeg4, yuv420p, 4272x2848, q=2-31, 200 kb/s, >> 25 tbn, 25 tbc >> Stream mapping: >> Stream #0.0 -> #0.0 >> Press [q] to stop encoding >> frame= 3 fps= 2 q=4.0 Lsize= 524kB time=0.12 >> bitrate=35781.7kbits/s >> video:519kB audio:0kB global headers:0kB muxing overhead 1.083673% >> > So the line starting with "frame=" doesn't get suppressed when you run with `-loglevel quiet`? I actually thought those were the problematic lines (since more of those get printed out for longer encoding tasks). Maybe this is an issue with the ffmpeg version? Unfortunately, I don't have much free time to reply in more depth. Best, -Tony |