Skip to content

Instantly share code, notes, and snippets.

@aidanheerdegen
Last active February 8, 2019 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aidanheerdegen/11451b280d7e07a8f4c078820908ab4a to your computer and use it in GitHub Desktop.
Save aidanheerdegen/11451b280d7e07a8f4c078820908ab4a to your computer and use it in GitHub Desktop.
python and xarray code to generate isotherms using the contour plot function
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aidanheerdegen
Copy link
Author

One outstanding issue is the lack of masking of NA values, as I've used the interp() method, it has interpolated where there is no data (land). As the isotherm depth changes with time, it isn't possible to use a time invariant mask, but a time varying one could be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment