Functions | |
| def | str_replace |
Variables | |
| string | data_dir = 'dir.data/DATA_OBS/Maps/MAGCARR/SDO' |
| string | help_message = 'Usage:\n./fetch_hmi_sdo.py ncar' |
| tuple | ncar = int(sys.argv[1]) |
| tuple | client = jsoc.JSOCClient() |
| tuple | res = client.search(a.jsoc.Time('2014-01-01T00:00:00', '2014-01-01T01:00:00'),a.jsoc.Series('hmi.mlsynop_small_720s'),a.jsoc.Notify('mikel.indurain@irap.omp.eu'),a.jsoc.Keys('TELESCOP,INSTRUME,T_START,T_STOP,CAR_ROT'),a.jsoc.PrimeKey('CAR_ROT',ncar)) |
| tuple | request = client.request_data(res,overwrite=False) |
| tuple | filepat = re.compile('hmi.mlsynop_small_720s.' + '.*' + '\.synopMl\.fits') |
| list | urls = [] |
| tuple | current_dir = os.getcwd() |
| tuple | ifile = os.path.basename(iurl) |
| tuple | symbolic_file = str_replace(ifile) |
| def fetchmap2D.fetch_sdo_hmi.str_replace | ( | old | ) |
^hmi.mlsynop_small_720s.1911.synopMl.fits -> sdo_hmi_CR1911.fits
| tuple fetchmap2D.fetch_sdo_hmi.client = jsoc.JSOCClient() |
| tuple fetchmap2D.fetch_sdo_hmi.current_dir = os.getcwd() |
| string fetchmap2D.fetch_sdo_hmi.data_dir = 'dir.data/DATA_OBS/Maps/MAGCARR/SDO' |
| tuple fetchmap2D.fetch_sdo_hmi.filepat = re.compile('hmi.mlsynop_small_720s.' + '.*' + '\.synopMl\.fits') |
| string fetchmap2D.fetch_sdo_hmi.help_message = 'Usage:\n./fetch_hmi_sdo.py ncar' |
| tuple fetchmap2D.fetch_sdo_hmi.ifile = os.path.basename(iurl) |
| tuple fetchmap2D.fetch_sdo_hmi.ncar = int(sys.argv[1]) |
| tuple fetchmap2D.fetch_sdo_hmi.request = client.request_data(res,overwrite=False) |
| tuple fetchmap2D.fetch_sdo_hmi.res = client.search(a.jsoc.Time('2014-01-01T00:00:00', '2014-01-01T01:00:00'),a.jsoc.Series('hmi.mlsynop_small_720s'),a.jsoc.Notify('mikel.indurain@irap.omp.eu'),a.jsoc.Keys('TELESCOP,INSTRUME,T_START,T_STOP,CAR_ROT'),a.jsoc.PrimeKey('CAR_ROT',ncar)) |
| tuple fetchmap2D.fetch_sdo_hmi.symbolic_file = str_replace(ifile) |
| list fetchmap2D.fetch_sdo_hmi.urls = [] |
1.8.5