docs: def download_cf_standard_name_table(version, location=None):
      '''
      Downloads the specified CF standard name table version and saves it to file
  
      :param str version: CF standard name table version number (i.e 34)
      :param str location: Path/filename to write downloaded xml file to
      '''
  
      if location is None:  # This case occurs when updating the packaged version from command line
          location = resource_filename('compliance_checker', 'data/cf-standard-name-table.xml')
  
      url = "http://cfconventions.org/Data/cf-standard-names/{0}/src/cf-standard-name-table.xml".format(version)
      r = requests.get(url, allow_redirects=True)
      if r.status_code == 200:
          print("Downloading cf-standard-names table version {0} from: {1}".format(version, url), file=sys.stderr)
          with open(location, 'wb') as f:
              f.write(r.content)
      else:
          r.raise_for_status()
      return