google-deepmind / graphcast

Apache License 2.0
4.37k stars 538 forks source link

Update xarray_jax.py #20

Closed xiazh18 closed 7 months ago

xiazh18 commented 7 months ago

The original code will report an error because it uses 'import tree' directly. The tree package actually used is our own defined xarray_tree.py. So, I replace 'import tree' with 'from graphcast import xarray_tree as tree' and the error is been solved.

google-cla[bot] commented 7 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.