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

avoid loading data twice in to_xarray_dataset #2762

Merged

Conversation

jenshnielsen
Copy link
Collaborator

Used to first load the data to verify shape and then reload in _load_to_xarray_dataarray_dict

Fix this by refactoring _load_to_xarray_dataarray_dict to take a loaded dataset

@astafan8 astafan8 added this to the 0.23.0 milestone Feb 22, 2021
@codecov
Copy link

codecov bot commented Feb 22, 2021

Codecov Report

Merging #2762 (99d002d) into master (5e047d6) will decrease coverage by 0.00%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master    #2762      +/-   ##
==========================================
- Coverage   63.84%   63.84%   -0.01%     
==========================================
  Files         198      198              
  Lines       26489    26490       +1     
==========================================
  Hits        16912    16912              
- Misses       9577     9578       +1     

@jenshnielsen jenshnielsen merged commit 44c99cf into microsoft:master Feb 22, 2021
@jenshnielsen jenshnielsen deleted the dataset_xarray_only_load_once branch February 22, 2021 12:23
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.

None yet

2 participants