Commit f01b841d authored by Jared Rennie's avatar Jared Rennie
Browse files

update

parent 23998085
......@@ -117,7 +117,10 @@ airTemp = ds[var].metpy.convert_units('degF')
# Clip By Shapefile
airTemp=airTemp.rio.set_spatial_dims(x_dim="projection_x_coordinate", y_dim="projection_y_coordinate", inplace=True)
airTemp=airTemp.rio.write_crs(projData.proj4_params, inplace=True)
# One thing I saw was the reproject option in rioxarray, but I get a "float16 key error when trying this"
#airTemp=airTemp.rio.reproject(projection)
airTempC = airTemp.rio.clip(geo_shapefile.geometry.apply(mapping), geo_shapefile.crs, drop=False)
# PLOT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment