Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create examples of dropping NaN rows then calling from_features #41

Open
3 tasks
PeterDSteinberg opened this issue Oct 31, 2017 · 3 comments
Open
3 tasks

Comments

@PeterDSteinberg
Copy link
Contributor

See @gbrener 's work here in PR #39 .

Make an example of a problem that

  • needs to drop NaN values, such as the margins of a satellite image swath or the removing oceans from a raster related to terrestrial data, and
  • show how from_features is convenient for reshaping back to the raster's approximate coords/dims. Then
  • Visualizing the output of from_features that should show the NaN's in the right places
@gbrener
Copy link
Contributor

gbrener commented Oct 31, 2017

Good starting point: https://github.com/ContinuumIO/xarray_filters/blob/master/xarray_filters/tests/test_reshape.py#L123-L158
I should be able address this soon - @PeterDSteinberg , do you by any chance have an example dataset handy?

@PeterDSteinberg
Copy link
Contributor Author

@gbrener Maybe solve this issue at the same time as this Holoviews 2035 issue with soils data from NLDAS. Doing so would be helpful also for AGU prep

@PeterDSteinberg
Copy link
Contributor Author

Hi @gbrener A faster way to get this testing done for NaN rows in reshaping is to just use this synthetic data function ts_clustering_example we have in the test_data.py of this repo (call it, then to_features, then add some NaNs for the test).

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

No branches or pull requests

2 participants