climate_data_utility
This context is used for handling climate datasets integrated with the HMI server.
{
"mrros_dataset": {
"hmi_dataset_id": "149efd94-dc91-4673-9245-443ad61276ea",
"filename": "cmip6-6e565455-9589-4d7c-8960-18c47ed6b9b7.nc"
},
"secondary_dataset": {
"hmi_dataset_id": "149efd94-dc91-4673-9245-443ad61276ea",
"filename": "cmip6-6e565455-9589-4d7c-8960-18c47ed6b9b7.nc"
}
}
Dataset IDs and filenames should be from the HMI server.
Note: after setup, the datasets are accessible via the variable names provided as dictionary keys.
This context’s LLM agent supports generic code generation with climate datasets with a focus on regridding and downscaling. Users have the ability to ask to perform a downscaling operation (e.g. “regrid dataset named mrros dataset to a resolution of 0.1, 0.1 with interpolation aggregation”). Other operations include plotting the given dataset.
This context has 2 custom message types:
download_dataset_request
: Downloads a dataset from the HMI server. Takes in the parametersuuid
, an HMI dataset ID, andfilename
, the target filename to download. Optionally acceptsvariable_name
which is where to store it, if not provided, it will incrementally createdataset_0
,dataset_1
…dataset_X
.save_dataset_request
: Takes indataset
andfilename
and uploads the given dataset with the filename to the HMI server.