Skip to content

Reconfigure xarray update#1

Open
jameshalgren wants to merge 3 commits intoRohanSunkarapalli:updated_xarray_methodsfrom
jameshalgren:reconfigureRSUpdate
Open

Reconfigure xarray update#1
jameshalgren wants to merge 3 commits intoRohanSunkarapalli:updated_xarray_methodsfrom
jameshalgren:reconfigureRSUpdate

Conversation

@jameshalgren
Copy link
Collaborator

This update rebases the changes from updated_xarray_methods onto the latest changes from the ngen_forcing branch in the upstream.

The upstream changes include some of the updates from the former, so the merge is a bit messy, unfortunately.

Git modifications to the updated_xarray_methods include removing indexing anomalies (j+=1), using only the index and feature list of the geopackage instead of the full object (which may not have yielded significant benefits) and an attempt to use similar syntax for forming the dictionaries in each of the functions. It would be helpful to include a separate helper function to perform the translation.

NOTE: in the process of examining this pull request which is the root of the updated_xarray_methods branch, we noticed that the parallel methods only work when the raster engine is not set to rasterio... BUT then the calculation doesn't produce the right answer. So... another bug to track down. It may not be possible to do this in parallel.

@jameshalgren jameshalgren changed the title Reconfigure rs update Reconfigure xarray update Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant