goes_ortho.get_data#

Get test data for tests and/or examples

get_data.download_abi(downloadRequest_filepath)[source]#

Download GOES ABI imagery as specified by an input JSON file. (this function wraps around goespy.ABIDownloader())

get_data.download_example_data() None[source]#

Fetch the GOES ABI example files.

get_data.get_dem(demtype, bounds, api_key, out_fn=None, proj='EPSG:4326')[source]#

download a DEM of choice from OpenTopography World DEM (modified by Shashank Bhushan, first written by David Shean)

Parameters
  • demtype (str) – type of DEM to fetch (e.g., SRTMGL1, SRTMGL1_E, SRTMGL3 etc)

  • bounds (list) – geographic aoi extent in format (minx,miny,maxx,maxy)

  • out_fn (str) – path to output filename

  • t_srs (str) – output DEM projection

Returns

out_DEM – path to output DEM (useful if the downloaded DEM is reprojected to custom proj)

Return type

str

Examples

get_data.make_request_json(workflowName, startDatetime, endDatetime, bounds, satellite, product, band, variable, apiKey)[source]#

For running through github actions, make a request json file from github user input to be read by the build_zarr function

get_data.run_bash_command(cmd)[source]#

Call a system command through the subprocess python module.