This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tableau 20 Colors | |
| tableau20 = [(31, 119, 180), (174, 199, 232), (255, 127, 14), (255, 187, 120), | |
| (44, 160, 44), (152, 223, 138), (214, 39, 40), (255, 152, 150), | |
| (148, 103, 189), (197, 176, 213), (140, 86, 75), (196, 156, 148), | |
| (227, 119, 194), (247, 182, 210), (127, 127, 127), (199, 199, 199), | |
| (188, 189, 34), (219, 219, 141), (23, 190, 207), (158, 218, 229)] | |
| # Tableau Color Blind 10 | |
| tableau20blind = [(0, 107, 164), (255, 128, 14), (171, 171, 171), (89, 89, 89), | |
| (95, 158, 209), (200, 82, 0), (137, 137, 137), (163, 200, 236), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pyesgf.search import SearchConnection | |
| conn = SearchConnection('http://esgf-index1.ceda.ac.uk/esg-search/search', distrib=True) | |
| ctx = conn.new_context(latest=True, institute='MPI-M') | |
| for result in ctx.search(): | |
| print result.json['master_id'], result.json['version'] |
NewerOlder