Skip to content
Discussion options

You must be logged in to vote

Nice question! General approach:

  • Load a netcdf file as xarray DataSet;
  • Select only the longitude and latitude closest / best representing your station location;
  • After that, use methods like taking the mean over time, or resample, to change your time step.

awtiCode package
I have written code for selecting data from a netcdf file based on station coordinates, and included it in the package awtiCode. I would like it very much if you try out this code, and let me know whether it works or not, and whether it is clear to use or not. To be able to use it, you first need to install the package awtiCode. You can follow the instructions of this page.

After installing, what you need to use, is th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BeyeneSe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants