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
if paper_case=='20170113_EACnowClimateChange01': | |
section_description_dict=collections.OrderedDict() | |
section_description_dict['AB']=[ 60, 61,217,226,0,54,'zonal' ] | |
section_description_dict['BC']=[ 60, 61,226,303,0,54,'zonal' ] | |
section_description_dict['GD']=[ 85,128,311,312,0,54,'meridional' ] | |
section_description_dict['FE']=[127,128,239,247,0,54,'zonal' ] | |
section_description_dict['ED']=[127,128,247,311,0,54,'zonal' ] | |
section_description_dict['IH']=[ 46,58 ,212,213,0,54,'meridional' ] | |
section_description_dict['JK']=[ 85,86 ,224,231,0,54,'zonal' ] | |
section_description_dict['PQ']=[ 68,80 ,212,213,0,54,'meridional' ] |
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
import requests | |
import csv | |
# GitHub API URL for the COSIMA organization repositories | |
url = "https://api.github.com/orgs/cosima/repos" | |
# Function to fetch all repositories with pagination | |
def fetch_all_repos(url): | |
repos = [] | |
while url: |
OlderNewer