SourceForge logo
SourceForge logo
Menu

matplotlib-checkins — Commit notification. DO NOT POST to this list, just subscribe to it.

You can subscribe to this list here.

2007 Jan
Feb
Mar
Apr
May
Jun
Jul
(115)
Aug
(120)
Sep
(137)
Oct
(170)
Nov
(461)
Dec
(263)
2008 Jan
(120)
Feb
(74)
Mar
(35)
Apr
(74)
May
(245)
Jun
(356)
Jul
(240)
Aug
(115)
Sep
(78)
Oct
(225)
Nov
(98)
Dec
(271)
2009 Jan
(132)
Feb
(84)
Mar
(74)
Apr
(56)
May
(90)
Jun
(79)
Jul
(83)
Aug
(296)
Sep
(214)
Oct
(76)
Nov
(82)
Dec
(66)
2010 Jan
(46)
Feb
(58)
Mar
(51)
Apr
(77)
May
(58)
Jun
(126)
Jul
(128)
Aug
(64)
Sep
(50)
Oct
(44)
Nov
(48)
Dec
(54)
2011 Jan
(68)
Feb
(52)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
(1)
2018 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
(8)
2
3
4
(1)
5
(2)
6
(7)
7
(3)
8
(7)
9
(3)
10
(2)
11
(4)
12
(9)
13
14
15
16
17
(5)
18
(1)
19
20
21
22
23
24
25
26
27
28





Showing results of 52

<< < 1 2 3 (Page 3 of 3)
Revision: 8938
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8938&view=rev
Author: jswhit
Date: 2011年02月01日 04:15:20 +0000 (2011年2月01日)
Log Message:
-----------
try to use netCDF4
Modified Paths:
--------------
 trunk/toolkits/basemap/examples/NetCDFFile_tst.py
Modified: trunk/toolkits/basemap/examples/NetCDFFile_tst.py
===================================================================
--- trunk/toolkits/basemap/examples/NetCDFFile_tst.py	2011年02月01日 04:02:08 UTC (rev 8937)
+++ trunk/toolkits/basemap/examples/NetCDFFile_tst.py	2011年02月01日 04:15:20 UTC (rev 8938)
@@ -5,7 +5,10 @@
 from numpy import ma
 from numpy.testing import assert_array_equal, assert_array_almost_equal
 from numpy.random.mtrand import uniform 
-from mpl_toolkits.basemap import NetCDFFile
+try:
+ from netCDF4 import Dataset as NetCDFFile
+except ImportError:
+ from mpl_toolkits.basemap import NetCDFFile
 
 # test automatic conversion of masked arrays, and
 # packing/unpacking of short ints.
@@ -46,6 +49,8 @@
 file = NetCDFFile(self.file,maskandscale=False)
 datamasked = file.variables['maskeddata']
 datapacked = file.variables['packeddata']
+ if hasattr(datapacked,'set_auto_maskandscale'):
+ datapacked.set_auto_maskandscale(False)
 # check missing_value, scale_factor and add_offset attributes.
 assert datamasked.missing_value == missing_value
 assert datapacked.scale_factor == scale_factor
@@ -57,7 +62,7 @@
 file = NetCDFFile(self.file)
 datamasked = file.variables['maskeddata']
 datapacked = file.variables['packeddata']
- assert_array_almost_equal(datamasked[:].filled(),ranarr)
+ assert_array_almost_equal(datamasked[:].filled(datamasked.missing_value),ranarr)
 assert_array_almost_equal(datapacked[:],packeddata,decimal=4)
 file.close()
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <js...@us...> - 2011年02月01日 04:02:14
Revision: 8937
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8937&view=rev
Author: jswhit
Date: 2011年02月01日 04:02:08 +0000 (2011年2月01日)
Log Message:
-----------
update for 1.0.1
Modified Paths:
--------------
 trunk/toolkits/basemap/Changelog
Modified: trunk/toolkits/basemap/Changelog
===================================================================
--- trunk/toolkits/basemap/Changelog	2011年01月28日 12:38:34 UTC (rev 8936)
+++ trunk/toolkits/basemap/Changelog	2011年02月01日 04:02:08 UTC (rev 8937)
@@ -1,4 +1,4 @@
-version 1.0.1 (not yet released).
+version 1.0.1 (svn revision 8937)
 * added 'celestial' keyword - if True astronomical convention for
 longitude is used (negative for 'east', positive for 'west').
 celestial=True implies resolution=None (no continents or
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing results of 52

<< < 1 2 3 (Page 3 of 3)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /