Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2964 commits
Select commit Hold shift + click to select a range
1f17472
Fix coord_comparison when coords are the same object
djkirkham Oct 6, 2017
7831684
Merge pull request #2435 from corinnebosley/switch_off_logging
pelson Oct 27, 2017
9cc610b
Merge pull request #2772 from djkirkham/coord_comparison_id_check
pelson Oct 27, 2017
6487277
Added what's new items for #2730 and #2325. (#2852)
pelson Oct 27, 2017
c93132b
Merge pull request #2863 from djkirkham/assertDoesNotGiveWarning
pelson Oct 27, 2017
bf89829
Merge pull request #2856 from djkirkham/remove-mask-checks
pelson Oct 27, 2017
ed72f81
Add unit test
djkirkham Oct 27, 2017
26a4bd3
Add workaround
djkirkham Oct 27, 2017
55f2e37
Add test of current dask behaviour
djkirkham Oct 27, 2017
5bfb85e
Merge pull request #2878 from djkirkham/fix_lazy_scalar
pelson Oct 27, 2017
2ed03db
Ammended cube.var_name documentation. (#2874)
Oct 27, 2017
c36f901
Futures netcdf no unlimited (#2838)
corinnebosley Oct 27, 2017
e794a1c
Use default Dask scheduler settings (#2879)
pp-mo Oct 27, 2017
78dd732
Fix doctest failing due to change in 'netcdf_promote' future behaviou…
djkirkham Oct 27, 2017
a16a92e
Remove unneeded image repo url (#2885)
djkirkham Oct 27, 2017
07b627b
Updated 2.0 release notes. (#2884)
pelson Oct 27, 2017
d2e29e1
Add iris-grib as a testing dependency; Python 3 included.
pp-mo Oct 27, 2017
56f1849
Fix requirements for iris_grib>=0.12, assuming it will have eccodes +…
pp-mo Oct 27, 2017
94ae63b
Made the iris extensions not install by default.
pelson Oct 28, 2017
9253f2e
Reduced the number of processes used by default when testing.
pelson Oct 28, 2017
9aad938
Merge pull request #2887 from pp-mo/post_iris2_grib_fixes
pelson Oct 30, 2017
6d09016
Set the documentation build to use viridis as the default colormap (r…
pelson Oct 28, 2017
fb1b271
Change behaviour of 'error' level (#2881)
djkirkham Oct 31, 2017
74b210c
Merge pull request #2888 from pelson/fewer_parallel_test
DPeterK Oct 31, 2017
a468509
Merge pull request #2889 from pelson/viridis_for_docs
DPeterK Oct 31, 2017
ad0b100
Dask processing options docs updates
DPeterK Oct 31, 2017
6dd6e27
Added some what's new information about #2435 and #2810.
pelson Oct 27, 2017
e19afb6
Merge pull request #2900 from dkillick/dask_opts_docs
pelson Nov 1, 2017
a442f77
Use the cube dimension order to determine the plot axes.
pelson Oct 31, 2017
7be3ba8
Merge pull request #2876 from pelson/docs_whats_new_2
DPeterK Nov 1, 2017
784f7a6
Small update to experimental-FF whatsnew statement (#2898)
DPeterK Nov 1, 2017
e08b354
Move some whatsnew items, remove spurious list
DPeterK Nov 1, 2017
f5f7e47
Move nc-no-unlim text to whatsnew
DPeterK Nov 1, 2017
7025416
Fill value handling on save notes
DPeterK Nov 1, 2017
8c7c86a
Merge pull request #2903 from dkillick/whatsnew_jiggles
pelson Nov 2, 2017
d26374f
Netcdf scalar cube loading bugfix
marqh Nov 2, 2017
2222f6a
Corrected usage context in description of PointInCell regrid scheme. …
pp-mo Nov 2, 2017
a408885
Re-worked setup.py to avoid the need for separate/non-standard build …
pelson Nov 2, 2017
01bcef2
Merge pull request #2899 from pelson/plot_orientation
DPeterK Nov 2, 2017
5a02e36
Missing data whitepaper (#2906)
DPeterK Nov 3, 2017
3f2c63c
Ensure lon/lat return order is consistent throughout (#2238)
DPeterK Nov 3, 2017
55166d1
Updated to v46 of the CF standard-name table. (#2908)
pelson Nov 3, 2017
4590d30
Use viridis cmap for doc images (#2909)
DPeterK Nov 4, 2017
047ad12
Stickler config (#2896)
pelson Nov 6, 2017
183e7de
Handled the recent update to conda-forge for testing, perhaps relatin…
pelson Nov 8, 2017
1b777bb
Bumped master to the v2.1 stream. (#2910)
pelson Nov 8, 2017
65656a4
Stickler config (#2896)
pelson Nov 6, 2017
72025c1
Merge remote-tracking branch 'upstream/v2.0.x'
pelson Nov 8, 2017
e674846
Improved the way requirements are handled, ensuring that pip gets all…
pelson Nov 9, 2017
1ef03fa
Merge remote-tracking branch 'upstream/v2.0.x'
pelson Nov 9, 2017
df22ad4
Further docs refinement for v2.0.0 (#2916)
pelson Nov 14, 2017
6accd8c
Remove obsolete reference from Userguide. (#2915)
pp-mo Nov 18, 2017
0b58150
Reverse 2878 (#2926)
djkirkham Dec 19, 2017
378d80d
Reduce exception message for loading missing files. (#2925)
rcomer Jan 4, 2018
f1b4dc7
Allow missing value (#2892)
Jan 4, 2018
b0b1ff1
Added the what's new and updated the copyright years for https://gith…
pelson Jan 4, 2018
b4c02a9
Fix some header dates.
pp-mo Jan 10, 2018
118611f
Merge pull request #2932 from pp-mo/header_dates
DPeterK Jan 10, 2018
8d8e530
Add note on using intersection (#2931)
DPeterK Jan 10, 2018
debf929
Merge remote-tracking branch 'upstream/v2.0.x'
pelson Jan 11, 2018
6f63108
CML changes for cf_units v1.2.0 (#2936)
DPeterK Jan 11, 2018
2f6ea5e
Merge pull request #2929 from pelson/2892_whatsnew
DPeterK Jan 11, 2018
4e26b62
[DOC]: Update userguide note on intersection (#2933)
DPeterK Jan 11, 2018
e2e2898
Prepare master for v2.0.x branch (#2934)
pelson Jan 11, 2018
606f9c7
Converted the contributions into the whatsnew.
pelson Jan 11, 2018
b1bf14a
Updated to a dev version string.
pelson Jan 11, 2018
53ef757
Merge branch 'v2.0.x'
pelson Jan 11, 2018
a25d32e
Merge pull request #2937 from pelson/2.1dev
DPeterK Jan 12, 2018
6aadcf9
Tweaked what's new, bumped version string, and updated the MANIFEST f…
pelson Jan 12, 2018
3570c95
Merge pull request #2938 from pelson/v2.0_doc_changes
DPeterK Jan 12, 2018
6b49cc4
Perserve dtype of source cube with area weighted regridder (#2203)
djkirkham Jan 17, 2018
ab529c3
Update license headers to handle the merge of a PR from 2017 in 2018 …
DPeterK Feb 9, 2018
656015e
DOC: lazy data docstring made clearer (#2947)
DPeterK Feb 9, 2018
ed786fc
Remove gdal from 'all' to 'extensions' depedency group.
pp-mo Feb 9, 2018
8a327b4
Merge pull request #2952 from pp-mo/no_test_gdal
DPeterK Feb 13, 2018
7e7bfab
Remove gdal from 'all' to 'extensions' depedency group.
pp-mo Feb 9, 2018
33497e9
DOC: lazy data docstring made clearer (#2947)
DPeterK Feb 9, 2018
88d1a90
No docs are better than wrong docs on dask
DPeterK Feb 9, 2018
92b8670
Add a general zenodo link to the readme. (#2955)
pelson Feb 14, 2018
4423598
Improved the pip installability of scitools-iris. (#2956)
pelson Feb 14, 2018
3c89cc0
Release of iris v2.0.0 🎉
pelson Feb 14, 2018
962f015
Merge v2.0.x into master (#2957)
pelson Feb 14, 2018
c0dc72f
Move v2.0.x branch into development mode.
pelson Feb 14, 2018
2c36573
Merge remote-tracking branch 'upstream/v2.0.x'
pelson Feb 14, 2018
70a4052
Fix the documentation building for latest version of sphinx. (#2958)
pelson Feb 15, 2018
089b14f
Remove FutureWarning from use of np.issubdtype(obj, np.str) (#2954)
pelson Feb 19, 2018
3d692fd
Add cube co-realisation. (#2967)
pp-mo Mar 9, 2018
95713c2
Fix for changed API of cartopy.crs.Stereographic (#2971)
pp-mo Mar 14, 2018
1522382
remove site.cfg exclude from manifest.in (#2978)
bjlittle Mar 15, 2018
d0248fb
Save calendar attribute for cube data (#2984)
djkirkham Mar 15, 2018
186cd28
Fix bug with aux coords with scalefactor/add_offset (#2975)
djkirkham Mar 15, 2018
8895a7a
Rename to correct package name
Mar 17, 2018
12b25a2
Merge pull request #2986 from raybellwaves/patch-1
ajdawson Mar 17, 2018
73220b2
Fix imagehash hex_to_hash (#2989)
bjlittle Apr 30, 2018
dd8609c
test_pearsonr: use compatible cubes for testing compatible cubes (#2960)
rcomer May 1, 2018
9139e70
Use unittest.mock for Python 3 (#3003)
bjlittle May 1, 2018
8c14565
reflect new latitude guess_bounds behaviour (#3006)
rcomer May 1, 2018
0d6d026
Pin Dask to >=0.17.1 (#2965)
djkirkham May 1, 2018
2e087c6
Fill a usability gap in iris.analysis.Trajectory (#2770)
DPeterK May 1, 2018
380844e
Remove iris.experimental.um module (#2781)
DPeterK May 2, 2018
98df0a9
Replace use of sphinx's status_iterator function, which has moved
pp-mo May 2, 2018
a01036b
Lazy unit conversions for cube and coord data. (#2964)
pp-mo May 2, 2018
a3a9a19
Gracefully handle long time intervals (#2354)
DPeterK May 2, 2018
b15f4ed
Prevent creation of invalid CF variable names. (#3009)
pelson May 3, 2018
56a8baa
Add stash check to name() (#2930)
duncanwp May 4, 2018
7f01718
Attempts to fix docs-build error reporting. (#2983)
pp-mo May 5, 2018
ae81b77
Phenomenon translation updates (#3011)
marqh May 16, 2018
8dd902b
Netcdftime dep (#3017)
pp-mo May 16, 2018
42af57b
add 'axes' kwarg to _label when called from contourf
May 2, 2018
82a6076
Replace iris.co_realise_cubes with CubeList.realise_data. (#3013)
pp-mo May 22, 2018
e275b70
Amend var_name documentation (#3020)
tv3141 May 23, 2018
c20219d
Updated tests for cf_units 2 (#3023)
pelson May 23, 2018
40be11b
Use ConfigParser for py>=3.2 (#3025)
tv3141 May 23, 2018
2b4f1b3
WIP: Unpin mpl (#3019)
bjlittle May 30, 2018
27f5e22
Add _repr_html_ for Iris cubes (#2918)
DPeterK May 31, 2018
3be2571
Partial collapse of multi-dimensional coordinates (#3028)
duncanwp May 31, 2018
6410a9a
Tidy up the root of the repository for v2.1 (#3034)
pelson May 31, 2018
21a545d
Remove the CODING matrix item. (#3036)
pelson May 31, 2018
23374f3
Add Albers Equal Area Projection and some test as per #2496 (#2943)
cvelascof May 31, 2018
56d7745
Improve the appeal of the landing pages (docs and README) (#3040)
pelson Jun 1, 2018
8ce7624
Use the correct pypi name for nc-time-axis. (#3039)
pelson Jun 1, 2018
243bb31
Use cftime instead of netcdftime (#3016)
ocefpaf Jun 1, 2018
0ea1b5d
Fixed the intermittent test in #3035. (#3037)
pelson Jun 1, 2018
ac24712
Add dask-array as a requirement when pip installing. (#3033)
pelson Jun 1, 2018
b4bd27a
Unpin netcdf4 (#3031)
ocefpaf Jun 1, 2018
69597eb
Metarelate updates in the UM 2 CF mapping (#3043)
marqh Jun 1, 2018
de901b2
Updated the README, and copied that over to the iris docs homepage. (…
pelson Jun 1, 2018
f6ce2fc
Added the what's new for iris 2.1 (#3044)
pelson Jun 2, 2018
1375fed
Merge remote-tracking branch 'upstream/v1.13.x'
pelson Jun 2, 2018
4a029b8
Merge remote-tracking branch 'upstream/v2.0.x'
pelson Jun 2, 2018
ab5c7d4
Updated the cf-standard names to v54. (#3046)
pelson Jun 2, 2018
50335e3
Merge pull request #3047 from pelson/release_branch_close
pelson Jun 2, 2018
8fbbeb7
iris.quickplot: Ensure labels and plot use the same axes
May 2, 2018
8802d70
sticklering
Jun 5, 2018
93b11cf
Merge pull request #3010 from kaedonkers/quickplot
pelson Jun 6, 2018
5fa15f1
Full-featured Mercator coord system (#3041)
DPeterK Jun 6, 2018
5726656
Updated the branding and execution of Iris docs (#3050)
pelson Jun 7, 2018
ccc5d92
[DOC] Iris Introduction updates (#3052)
DPeterK Jun 7, 2018
971bad1
Updated to v2.1.0. (#3051)
pelson Jun 7, 2018
d888eb6
Move into development mode for v2.1.1
pelson Jun 7, 2018
51e0d15
Move into development mode for v2.2.0
pelson Jun 7, 2018
6994f03
remove first 'and' from tagline to make it read easier
Jun 8, 2018
2e30036
Merge pull request #3056 from kaedonkers/tagline-grammar
DPeterK Jun 11, 2018
6483761
Notebook repr whatsnew update
DPeterK Jun 8, 2018
6492842
remove first 'and' from tagline to make it read easier
Jun 8, 2018
add8e47
Merge remote-tracking branch 'upstream/v2.1.x'
pelson Jun 11, 2018
ddff1e7
minor requirements tidy
bjlittle Jun 14, 2018
dbe1bc3
http -> https for copybutton.js (#3066)
tv3141 Jun 18, 2018
220c272
Explain use of saver='string' in iris.save (#3062)
pp-mo Jun 18, 2018
e5a51c4
Fix reStructuredText warnings in documentation (#3069)
tv3141 Jun 19, 2018
0440bb1
Add information about comparing STASH objects with strings (#3072)
nhsavage Jun 20, 2018
7c6d7d4
Doc: Fallback to no syntax hightlighting without warning. (#3071)
tv3141 Jun 20, 2018
38544fb
Merge remote-tracking branch 'upstream/v2.1.x'
pelson Jun 20, 2018
22dd241
Quick fix to get tests passing by pinning dask version (#3086)
DPeterK Jul 13, 2018
fcfea63
ENH: Working zonal mean linear regridding for circular sources or wit…
Jul 13, 2018
24c0329
Avoid pandas deprecation warning. (#3079)
hdyson Jul 13, 2018
163e958
Workaround for dask array copy bug (#3088)
DPeterK Jul 16, 2018
3c4086b
add contact options to README
tv3141 Jul 23, 2018
17b2d6f
Add stash mapping changes to v2.1.0 changelog
tv3141 Jul 23, 2018
a0d1801
Pin Dask for avoid 0.18.2 bug with masked arrays.
pp-mo Aug 2, 2018
c89f43e
Tiny fix for dask, Python3 only?
pp-mo Aug 3, 2018
a6de324
Disable doctests for Python 2.
pp-mo Aug 13, 2018
6e32e14
Ignore warnings and update array printouts.
pp-mo Aug 13, 2018
d69222a
Better way to disable Python2 doctests.
pp-mo Aug 13, 2018
efdf0ae
Merge pull request #3134 from pp-mo/temporary_dask_fix
lbdreyer Aug 14, 2018
ff7ec92
Add gridcell_angles and rotate_grid_vectors to iris.analysis.cartogra…
pp-mo Jul 23, 2018
393489e
Roughly working, snapshotted with complex test plot code, to be reduced.
pp-mo Jul 25, 2018
d8bb331
Small improvements.
pp-mo Jul 26, 2018
c902ce3
Support plotting 2D bounded coords
lbdreyer Jul 20, 2018
723d45b
some words for docs, WIP probably
corinnebosley Jul 31, 2018
0b8baf5
Handle custom coords correctly
lbdreyer Jul 30, 2018
759e357
suggested tweaks and corrections
corinnebosley Jul 31, 2018
ade18ad
Update docs to included 2.2 versions (#3110)
lbdreyer Jul 31, 2018
91d69fa
Provide a test skipper for 2d coords WIP. (#3099)
pp-mo Jul 31, 2018
b6b305f
First working quiver+streamplot.
pp-mo Jul 30, 2018
aee7f56
Change version number (#3118)
lbdreyer Jul 31, 2018
297becf
re-added bounds definition for contiguity check, removed unnecessary …
corinnebosley Jul 31, 2018
a281805
Ensure Sphinx autodocs for grid_angles routines.
pp-mo Aug 2, 2018
e024f50
Codestyle fixes.
pp-mo Aug 2, 2018
e3e82e4
Whatsnew entries for 2d vector support.
pp-mo Aug 2, 2018
b041c50
Pin Dask to avoid 0.18.2 bug with masked arrays. (#3127)
pp-mo Aug 14, 2018
7a9cb5c
Update pp save rules to handle time means (#3132)
hdyson Aug 28, 2018
5de040f
Vector plots 2 (#3120)
pp-mo Aug 29, 2018
2b6b787
Temporary pin to avoid problems caused by Proj4 v5.1. (#3150)
pp-mo Aug 31, 2018
cb64761
Extending ORCA blockplotting (w/ tests) (#3135)
lbdreyer Aug 31, 2018
7455bb1
Tests for rotate_grid_vectors (#3148)
pp-mo Sep 3, 2018
42a90a2
Remove 'skip_2d' test decorator. (#3156)
pp-mo Sep 3, 2018
2d6c6a4
Add integration graphics tests for pcolormesh with 2d coords (#3149)
lbdreyer Sep 3, 2018
f51ae84
Vector plots 4 (#3158)
pp-mo Sep 4, 2018
5923aaa
Fix contig_ tolerance kwarg bug (#3162)
lbdreyer Sep 5, 2018
5bd0d15
Add simple lazy aggregations
DPeterK Sep 10, 2018
6186081
Lazy SUM and COUNT, tests improved
DPeterK Sep 12, 2018
2663a5a
Add tests for MAX and MIN
DPeterK Sep 12, 2018
b4bf847
Update tests for STD_DEV
DPeterK Sep 12, 2018
718f604
Use NetCDF variable's chunks on load (#3131)
DPeterK Sep 13, 2018
b1b4b59
Iteration and less duplication
DPeterK Sep 13, 2018
a957ebc
Attempt to fix Matplotlib issue by resticting to 2.x
tomgreen66 Sep 23, 2018
00ee159
Non-test review actions
DPeterK Sep 24, 2018
76b819b
Make COUNT tests truer unit tests
DPeterK Sep 24, 2018
9908eba
Convert MAX and MIN tests to truer unit tests
DPeterK Sep 24, 2018
e4e07ad
Convert COUNT and SUM agg tests to truer unit tests
DPeterK Sep 24, 2018
50fad00
Tests for new _lazy_data function
DPeterK Sep 24, 2018
63f0b5e
Fix for netCDF4 1.4 behaviour change. (#3177)
pp-mo Sep 28, 2018
5eee6ca
Merge pull request #3175 from tomgreen66/matplotlib_not_3
DPeterK Sep 28, 2018
afee892
Improve gracefully filling warning (#3171)
znicholls Sep 28, 2018
9088c49
Minor clarification to entry via a little more punctuation
DPeterK Sep 28, 2018
94022ad
Revert nc vars masking fix (temporarily). (#3178)
pp-mo Oct 1, 2018
d7f943b
fix for pandas column object bug (#3176)
corinnebosley Oct 2, 2018
0ac4601
Update module headers and installation instructions (#3170)
znicholls Oct 2, 2018
aa0fc4e
Correct some failing tests
DPeterK Oct 2, 2018
f2171a1
Update tests.rst (#3082)
bascrezee Oct 2, 2018
01e3285
Add link to developer guide. (#3093)
tv3141 Oct 2, 2018
e7e3c53
Merge pull request #3153 from SciTools/2d_coords
DPeterK Oct 3, 2018
2b02967
Merge pull request #3067 from bjlittle/minor-requirements-tidy
DPeterK Oct 3, 2018
7ef7985
Combine identical test routines for pcolor + pcolormesh.
pp-mo Sep 19, 2018
a4b3fb7
Test 'contiguity_tolerance' use in iris.plot.pcolor and pcolormesh.
pp-mo Oct 3, 2018
5f2aadc
Unpin dask
DPeterK Oct 3, 2018
c5be03e
Handle printing bounds of long time interval coords (#3140)
DPeterK Oct 3, 2018
e2c47f9
iris.util.reverse on cubes (#3155)
rcomer Oct 3, 2018
a41db2d
Improved Aux factory error handling: better message, delivered earlie…
hdyson Oct 3, 2018
25c5f4d
Correct cube collapse code
DPeterK Oct 4, 2018
7be9b73
Merge pull request #3185 from dkillick/unpin_dask
corinnebosley Oct 4, 2018
adfb264
Merge pull request #3184 from pp-mo/test_contig_tol
corinnebosley Oct 4, 2018
39a7d54
Merge pull request #3168 from dkillick/lazy_aggs
corinnebosley Oct 5, 2018
cc229a9
Provide info on pp-field indices in the file for structured um loads.…
pp-mo Oct 8, 2018
8fc215e
simplify dev guide
rcomer Oct 8, 2018
f7b0da7
Merge pull request #3191 from rcomer/simplify-dev-guide
ajdawson Oct 8, 2018
a22db5d
Integration test for iris.plot.contour with 2d coords. (#3189)
pp-mo Oct 10, 2018
b99a219
pinned numpy to not 1.15.2 in core requirements
corinnebosley Oct 11, 2018
40840cc
Merge pull request #3195 from corinnebosley/pin_numpy_to_not_1.15.2
DPeterK Oct 11, 2018
70f57e4
Public contiguity checking (#3144)
corinnebosley Oct 11, 2018
cecff4e
Populate whatsnew 2.2 (#3192)
corinnebosley Oct 11, 2018
9e2b1e6
Update version str
DPeterK Oct 11, 2018
42aec6c
Update CF standard name table to v59
Oct 11, 2018
1091833
Fix docstring re structured text warnings (#3073) (#3197)
corinnebosley Oct 11, 2018
a794623
Merge pull request #3199 from kaedonkers/update-cf-names
corinnebosley Oct 11, 2018
dc468f1
Merge pull request #3198 from dkillick/version_string_v2.2.0
corinnebosley Oct 11, 2018
276670e
updated version string to 2.3.0dev0
corinnebosley Oct 11, 2018
40ab06c
Merge pull request #3200 from corinnebosley/update_version_to_dev
DPeterK Oct 11, 2018
7963950
add contact options to README
tv3141 Jul 23, 2018
bddaba1
Add stash mapping changes to v2.1.0 changelog
tv3141 Jul 23, 2018
a6c1480
expanded name of dev group
corinnebosley Oct 15, 2018
9b61b24
added an n for better flow
corinnebosley Oct 15, 2018
3493066
Merge branch 'readme_get_in_touch' into remove_gitter
tv3141 Oct 15, 2018
0d0cd8f
Merge branch 'amend_changelog' into tweak_amendment
tv3141 Oct 15, 2018
006bf90
Merge pull request #2 from corinnebosley/remove_gitter
tv3141 Oct 15, 2018
2b3e75b
Merge pull request #3 from corinnebosley/tweak_amendment
tv3141 Oct 15, 2018
6d21ff1
Merge pull request #3092 from tv3141/readme_get_in_touch
corinnebosley Oct 15, 2018
746b9b7
Merge pull request #3094 from tv3141/amend_changelog
corinnebosley Oct 15, 2018
f3fa1c9
Fix broken link to dask docs (#3204)
rhattersley Oct 17, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
1 change: 1 addition & 0 deletions .github/deploy_key.scitools-docs.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gAAAAABZSMeGIlHxHu4oCV_h8shbCRf1qJYoLO9Z0q9uKR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buZKF1BF3lXamTTDIBcWiDLwuNDv2lUkURDCWa5WJsfUCfTAJ6PTe8=
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
*.py[co]

# Environment file which should be autogenerated
*conda_requirements.txt*

# Packages
*.egg
*.egg?
*.egg-info
dist
build
Expand All @@ -15,10 +18,12 @@ develop-eggs

# Installer logs
pip-log.txt
pip-cache

# Unit test / coverage reports
.coverage
.tox
.pytest_cache

#Translations
*.mo
Expand All @@ -31,17 +36,30 @@ lib/iris/std_names.py

# Iris test result files
lib/iris/tests/result_image_comparison/
iris_image_test_output/
*.ESMF_LogFile

# Iris test lock file
lib/iris/tests/results/imagerepo.lock

# Pydev/Eclipse files
.project
.pydevproject
.settings

# PyCharm files
/.idea
*.cover

# Auto generated documentation files
docs/iris/src/_static/random_image.js
docs/iris/src/_templates/gallery.html
docs/iris/src/examples/
docs/iris/src/iris/
docs/iris/src/matplotlibrc

# Example test results
docs/iris/iris_image_test_output/

# Created by editiors
*~
Expand Down
13 changes: 13 additions & 0 deletions .mailmap
6 changes: 6 additions & 0 deletions .stickler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
linters:
flake8:

files:
ignore:
- 'lib/iris/fileformats/um_cf_map.py'
272 changes: 148 additions & 124 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,143 +1,167 @@
#
# Based on pelson's travis work for cartopy.
#
# Please update the cartopy, test data, and sample data git references below if appropriate.
# Please update the test data git references below if appropriate.
#
# Note: Contrary to the travis documentation,
# http://about.travis-ci.org/docs/user/languages/python/#Travis-CI-Uses-Isolated-virtualenvs
# we will use the system python because it takes too long to install scipy from source.
#
# we will use conda to give us a much faster setup time.


language: python
python:
- 2.7
- 3.6
sudo: false

env:
matrix:
- TEST_TARGET=default TEST_MINIMAL=true
- TEST_TARGET=default
- TEST_TARGET=example
- TEST_TARGET=doctest

global:
# The decryption key for the encrypted .github/deploy_key.scitools-docs.enc.
- secure: "N9/qBUT5CqfC7KQBDy5mIWZcGNuUJk3e/qmKJpotWYV+zwOI4GghJsRce6nFnlRiwl65l5oBEcvf3+sBvUfbZqh7U0MdHpw2tHhr2FSCmMB3bkvARZblh9M37f4da9G9VmRkqnyBM5G5TImXtoq4dusvNWKvLW0qETciaipq7ws="

git:
depth: 0
# We need a deep clone so that we can compute the age of the files using their git history.
depth: 10000

install:

- export BIGGUS_REF="da8f19f197adff77e8071b0e04269c8b888a1fbf"
- export BIGGUS_SUFFIX=$(echo "${BIGGUS_REF}" | sed "s/^v//")

- export CARTOPY_REF="v0.10.0"
- export CARTOPY_SUFFIX=$(echo "${CARTOPY_REF}" | sed "s/^v//")

- export IRIS_TEST_DATA_REF="3378fe68c00ca7f31895ab6630a59a39ccef94e3"
- export IRIS_TEST_DATA_SUFFIX=$(echo "${IRIS_TEST_DATA_REF}" | sed "s/^v//")

- export IRIS_SAMPLE_DATA_REF="2e7c73504e3d675d97dc8a2c2939f9fd2cfe51f1"
- export IRIS_SAMPLE_DATA_SUFFIX=$(echo "${IRIS_SAMPLE_DATA_REF}" | sed "s/^v//")

# Switch off virtualenv so we can use apt-get for Python packages.
- deactivate

# add repo
- ./.travis_no_output sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3E5C1192
- ./.travis_no_output sudo add-apt-repository -y ppa:ubuntugis/ppa
# access to scipy 0.12.0 https://launchpad.net/~pylab/+archive/stable
- sudo add-apt-repository -y ppa:pylab/stable
- ./.travis_no_output sudo apt-get update

# install deps
- ./.travis_no_output sudo apt-get install python-scipy cython python-pip
- ./.travis_no_output sudo /usr/bin/pip install numpy==1.7.2
- ./.travis_no_output sudo /usr/bin/pip install --use-mirrors shapely nose
- ./.travis_no_output sudo /usr/bin/pip install --use-mirrors pyshp pep8 mock
- ./.travis_no_output sudo /usr/bin/pip install --use-mirrors setuptools
- ./.travis_no_output sudo /usr/bin/pip install matplotlib==1.3.1
- ./.travis_no_output sudo apt-get install libgeos-dev libproj-dev
- ./.travis_no_output sudo apt-get install libudunits2-dev libhdf5-serial-dev netcdf-bin libnetcdf-dev
- ./.travis_no_output sudo apt-get install make unzip python-sphinx graphviz
- ./.travis_no_output sudo /usr/bin/pip install netCDF4==1.0.2
- ./.travis_no_output sudo /usr/bin/pip install pyke
- ./.travis_no_output sudo /usr/bin/pip install pandas==0.12.0
- ./.travis_no_output sudo apt-get install openjdk-7-jre
- sudo apt-get install python-gdal
- export LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server:$LD_LIBRARY_PATH

# cfchecker
- ./.travis_no_output sudo /usr/bin/pip install cdat-lite
# cfchecker via pip normally works, but we've found the pip interface to fail intermittently,
# therefore we specify the full download url.
# - ./.travis_no_output sudo /usr/bin/pip install cfchecker
- ./.travis_no_output sudo /usr/bin/pip install https://pypi.python.org/packages/source/c/cfchecker/cfchecker-2.0.3.tar.gz#md5=54e780e8688ac743d1e21448a3901061

- echo '#!/usr/bin/env sh' > cfchecker
- echo "cfchecks -s `pwd`/etc/cf-standard-name-table.xml -a `pwd`/etc/area-type-table.xml -u /usr/share/xml/udunits/udunits2.xml \$1" >> cfchecker
- ./.travis_no_output sudo cp cfchecker /usr/local/bin/cfchecker
- ./.travis_no_output sudo chmod a+x /usr/local/bin/cfchecker

# grib api
- ./.travis_no_output sudo apt-get install libjasper-dev
- ./.travis_no_output sudo apt-get build-dep libgrib-api-1.9.9 libgrib-api-dev libgrib-api-tools
- ./.travis_no_output wget https://software.ecmwf.int/wiki/download/attachments/3473437/grib_api-1.9.16.tar.gz --no-check-certificate
- ./.travis_no_output tar -xvf grib_api-1.9.16.tar.gz
- cd grib_api-1.9.16/
- ../.travis_no_output CFLAGS="-fPIC" ./configure --with-jasper=/usr/local/lib --disable-fortran --enable-python
- ../.travis_no_output make
- ../.travis_no_output sudo make install
- cd python
- ../../.travis_no_output sudo /usr/bin/python setup.py install
- cd ../..

# biggus
- ./.travis_no_output wget -O biggus.zip https://github.com/SciTools/biggus/archive/${BIGGUS_REF}.zip
- ./.travis_no_output unzip -q biggus.zip
- ln -s $(pwd)/biggus-${BIGGUS_SUFFIX} biggus
- cd biggus
- ../.travis_no_output /usr/bin/python setup.py install --user
- cd ..

# cartopy
- ./.travis_no_output wget -O cartopy.zip https://github.com/SciTools/cartopy/archive/${CARTOPY_REF}.zip
- ./.travis_no_output unzip -q cartopy.zip
- ln -s $(pwd)/cartopy-${CARTOPY_SUFFIX} cartopy
- cd cartopy
- ../.travis_no_output /usr/bin/python setup.py install --user
- cd ..
- >
export IRIS_TEST_DATA_REF="2f3a6bcf25f81bd152b3d66223394074c9069a96";
export IRIS_TEST_DATA_SUFFIX=$(echo "${IRIS_TEST_DATA_REF}" | sed "s/^v//");

# Cut short doctest phase under Python 2 : now only supports Python 3
# SEE : https://github.com/SciTools/iris/pull/3134
# ------------
- >
if [[ $TEST_TARGET == 'doctest' && ${TRAVIS_PYTHON_VERSION} != 3* ]]; then
echo "DOCTEST phase only valid in Python 3 : ABORTING during 'install'."
exit 0
fi

# Install miniconda
# -----------------
- >
echo 'Installing miniconda';
export CONDA_BASE=https://repo.continuum.io/miniconda/Miniconda;
if [[ "$TRAVIS_PYTHON_VERSION" == 2* ]]; then
wget --quiet ${CONDA_BASE}2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget --quiet ${CONDA_BASE}3-latest-Linux-x86_64.sh -O miniconda.sh;
fi;
bash miniconda.sh -b -p $HOME/miniconda;
export PATH="$HOME/miniconda/bin:$PATH";

# Create the basic testing environment
# ------------------------------------
# Explicitly add defaults channel, see https://github.com/conda/conda/issues/2675
- >
echo 'Configure conda and create an environment';
conda config --set always_yes yes --set changeps1 no;
conda config --set show_channel_urls True;
conda config --add channels conda-forge;
conda update --quiet conda;
ENV_NAME='test-environment';
conda create --quiet -n $ENV_NAME python=$TRAVIS_PYTHON_VERSION pip;
source activate $ENV_NAME;

# Customise the testing environment
# ---------------------------------
- >
echo 'Install Iris dependencies';
CONDA_REQS_FLAGS="";
CONDA_REQS_GROUPS="test";
if [[ "$TRAVIS_PYTHON_VERSION" == 2* ]]; then
CONDA_REQS_FLAGS="${CONDA_REQS_FLAGS} --py2";
fi;
if [[ "$TEST_MINIMAL" != true ]]; then
CONDA_REQS_GROUPS="${CONDA_REQS_GROUPS} all";
fi;
if [[ "${TEST_TARGET}" == 'doctest' ]]; then
CONDA_REQS_GROUPS="${CONDA_REQS_GROUPS} docs";
fi;
CONDA_REQS_FILE=conda-requirements.txt;
python requirements/gen_conda_requirements.py ${CONDA_REQS_FLAGS} --groups ${CONDA_REQS_GROUPS} > ${CONDA_REQS_FILE};
cat ${CONDA_REQS_FILE};
conda install --quiet -n $ENV_NAME --file ${CONDA_REQS_FILE};

- PREFIX=$HOME/miniconda/envs/$ENV_NAME

# Output debug info
- >
conda list -n $ENV_NAME;
conda list -n $ENV_NAME --explicit;
conda info -a;

# Pre-load Natural Earth data to avoid multiple, overlapping downloads.
# i.e. There should be no DownloadWarning reports in the log.
- /usr/bin/python -c 'import cartopy; cartopy.io.shapereader.natural_earth()'

# mo_unpack
- ./.travis_no_output wget https://puma.nerc.ac.uk/trac/UM_TOOLS/raw-attachment/wiki/unpack/unpack-030712.tgz
- ./.travis_no_output tar -xf unpack-030712.tgz
- cd unpack-030712/libmo_unpack
#? - gcc -c -fPIC -O4 -mfpmath=sse -msse -I include -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE64 -D_FILE_OFFSET_BITS=64 *.c
- ../../.travis_no_output gcc -c -fPIC -O4 -mfpmath=sse -msse -I include -D_LARGEFILE_SOURCE *.c
- ../../.travis_no_output gcc -shared -Wl,-soname,libmo_unpack.so -o lib/libmo_unpack.so *.o
- ../../.travis_no_output sudo cp lib/* /usr/local/lib
- ../../.travis_no_output sudo cp include/* /usr/local/include
- cd ../..
- python -c 'import cartopy; cartopy.io.shapereader.natural_earth()'

# iris test data
- ./.travis_no_output wget -O iris-test-data.zip https://github.com/SciTools/iris-test-data/archive/${IRIS_TEST_DATA_REF}.zip
- ./.travis_no_output unzip -q iris-test-data.zip
- ln -s $(pwd)/iris-test-data-${IRIS_TEST_DATA_SUFFIX} iris-test-data

# iris sample data
- ./.travis_no_output wget -O iris-sample-data.zip https://github.com/SciTools/iris-sample-data/archive/${IRIS_SAMPLE_DATA_REF}.zip
- ./.travis_no_output unzip -q iris-sample-data.zip
- ln -s $(pwd)/iris-sample-data-${IRIS_SAMPLE_DATA_SUFFIX} iris-sample-data

# iris
- ./.travis_no_output /usr/bin/python setup.py --with-unpack build_ext --inplace -I/usr/local/include -L/usr/local/lib -R/usr/local/lib
- ./.travis_no_output /usr/bin/python setup.py std_names
- echo "[Resources]" > lib/iris/etc/site.cfg
- echo "sample_data_dir = $(pwd)/iris-sample-data/sample_data" >> lib/iris/etc/site.cfg
- echo "test_data_dir = $(pwd)/iris-test-data/test_data" >> lib/iris/etc/site.cfg
- ln -s $(pwd)/lib/iris /home/travis/.local/lib/python2.7/site-packages/iris
- ./.travis_no_output /usr/bin/python setup.py pyke_rules
- >
if [[ "$TEST_MINIMAL" != true ]]; then
wget --quiet -O iris-test-data.zip https://github.com/SciTools/iris-test-data/archive/${IRIS_TEST_DATA_REF}.zip;
unzip -q iris-test-data.zip;
mv "iris-test-data-${IRIS_TEST_DATA_SUFFIX}" iris-test-data;
fi

# set config paths
- >
SITE_CFG=lib/iris/etc/site.cfg;
echo "[Resources]" > $SITE_CFG;
echo "test_data_dir = $(pwd)/iris-test-data/test_data" >> $SITE_CFG;
echo "doc_dir = $(pwd)/docs/iris" >> $SITE_CFG;
echo "[System]" >> $SITE_CFG;
echo "udunits2_path = $PREFIX/lib/libudunits2.so" >> $SITE_CFG;

- python setup.py --quiet install

# JUST FOR NOW : Install latest version of iris-grib.
# TODO : remove when iris doesn't do an integration test requiring iris-grib.
- if [[ "$TEST_MINIMAL" != true && ${TRAVIS_PYTHON_VERSION} == 2* ]]; then
conda install --quiet -n $ENV_NAME python-ecmwf_grib;
pip install git+https://github.com/SciTools/[email protected];
fi

script:
- /usr/bin/python setup.py test --example-tests

- cd $(pwd)/docs/iris
# Make html produces an error when run on Travis that does not affect any downstream functionality but causes the build to fail spuriously.
# The following gets around this error, which should be investigated further in the future.
- echo `make clean html`

- make doctest
- if [[ $TEST_TARGET == 'default' ]]; then
python -m iris.tests.runner --default-tests --system-tests --coding-tests --print-failed-images --num-processors=3;
fi
- if [[ $TEST_TARGET == 'example' ]]; then
python -m iris.tests.runner --example-tests --print-failed-images --num-processors=3;
fi

# Capture install-dir: As a test command must be last for get Travis to check
# the RC, so it's best to start each operation with an absolute cd.
- INSTALL_DIR=$(pwd)

- >
if [[ $TEST_TARGET == 'doctest' ]]; then
MPL_RC_DIR=$HOME/.config/matplotlib;
mkdir -p $MPL_RC_DIR;
echo 'backend : agg' > $MPL_RC_DIR/matplotlibrc;
echo 'image.cmap : viridis' >> $MPL_RC_DIR/matplotlibrc;
cd $INSTALL_DIR/docs/iris;
make clean html && make doctest;
fi

# Split the organisation out of the slug. See https://stackoverflow.com/a/5257398/741316 for description.
- ORG=(${TRAVIS_REPO_SLUG//\// })

# When we merge a change, and we are running in python 3, push some docs.
- if [[ $TEST_TARGET == 'doctest' && ${TRAVIS_EVENT_TYPE} == 'push' && ${TRAVIS_PYTHON_VERSION} == 3* && ${ORG} == "SciTools" ]]; then
cd $INSTALL_DIR;
pip install doctr;
doctr deploy --deploy-repo SciTools-docs/iris --built-docs docs/iris/build/html
--key-path .github/deploy_key.scitools-docs.enc
--no-require-master
${TRAVIS_BRANCH:-${TRAVIS_TAG}};
fi

# An extra call to check "whatsnew" contributions are valid, because the
# Iris test for it needs a *developer* install to be able to find the docs.
- if [[ $TEST_TARGET == 'doctest' ]]; then
cd $INSTALL_DIR/docs/iris/src/whatsnew;
python aggregate_directory.py --checkonly;
fi
20 changes: 0 additions & 20 deletions .travis_no_output

This file was deleted.

Loading