cal-adapt / climakitae

A Python toolkit for retrieving, visualizing, and performing scientific analyses with data from the Cal-Adapt Analytics Engine.
https://climakitae.readthedocs.io
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

SCE Pilot- Batch Mode with a Warming Level Approach #403

Closed claalmve closed 3 months ago

claalmve commented 4 months ago

Description of PR

Summary of changes and related issue Integrating a warming level approach with batch mode.

Type of change

Checklist:

claalmve commented 3 months ago

get_closest_gridcell is working well with one caveat that, for LOCA, lat lon far from the cached area still outputs data. The issue would be very easy to resolve once crs is defined. In the mean time, consider setting the tolerance to a tiny number in degrees. The change getting the function to no longer error for LOCA is definitely an improvement, so feel free to merge it!

Great catch! The tolerance is basically all of the Earth for LOCA data as is. It's now been fixed to have a tolerance adjusted to LOCA lat/lon rather than WRF x/y.