Use Projected CRS for Mask Buffering (Instead of Silencing geopandas Warning) - #189
Conversation
9073aa5 to
dbbdb4d
Compare
|
Rebased against development |
|
This looked mostly good. To cover any of the Hawaiian islands without distortion, I changed Hawaii to dynamically determine the UTM zone of the centroid of the area being modeled and use that UTM projection instead of applying one Hawaii projection. Also increased the buffer to 6km and have it asserting horizontal units of that temporary CRS. I tested by running CONUS and oCONUS, NWM and AORC and reviewing the output PNG plots. To do that, uncomment this part if self.mpi_config.rank == 0:
self.plot_precip(ds)
self.write_sum_tif(self.computed_ds)And then see the RAINRATE PNGs that come out with this kind of path:
I think this is ready to merge. |
|
@idtodd do you mind reviewing my final commit here? I reviewed the earlier commits already. |
|
Note: for Alaska NWM, even though the PNG plot looks okay, the output NetCDF file does not seem to draw in the correct spot in QGIS (it is much too wide, too short, and located above the North Pole). Need to determine if this is an issue with QGIS or if the output NetCDF actually has an issue. |
7dbd8a5 to
92f5333
Compare
|
Rebased |
I confirmed that the output Alaska NetCDF files draw strangely on the |
…aii. Increase AORC buffer to 6km. Assert that the projection is meters
92f5333 to
561bd26
Compare
Use projected crs instead of geographic crs for buffering watershed. The new buffer seems reasonable and provides full coverage; see below.
Additions
Removals
Changes
Testing
Screenshots
Notes
Todos
Checklist
Testing checklist
Target Environment support