lair.hrrr#

HRRR winds at a point.

Winds downloads the 10 m winds of the HRRR analyses at the grid point nearest a latitude and longitude, from the University of Utah’s HRRR-Zarr archive on Amazon S3, and rotates them to earth-relative u and v. The other functions are the steps it takes: build the S3 keys of a model run (ZarrId), find the grid point, read and decompress its chunk. Get HRRR winds at a point shows it at one point.

The archive’s documentation: https://mesowest.utah.edu/html/hrrr/zarr_documentation/html/python_data_loading.html

Attributes

PROJECTION

HRRR's Lambert conformal projection, a cartopy CRS.

Functions

create_s3_chunk_url

Create the s3 chunk url for a zarr id.

create_s3_group_url

Create the s3 group url for a zarr id.

create_s3_subgroup_url

Create the s3 subgroup url for a zarr id.

decompress_chunk

Decompress s3 chunk data.

generate_zarr_ids

Generate ZarrId instance for multiple times and variables

get_nearest_point

Get the nearest point to a given latitude and longitude.

get_value

Get an array of values from am s3 zarr chunk.

retrieve_object

Retrieve object from s3.

winds_frame

Earth-relative 10 m winds at a point from HRRR grid-relative components.

Classes

Winds

Class to download HRRR winds at a point.

ZarrId

Class to store information about a HRRR zarr file.