SWATH data to grid #192
-
Hi all, I thought I'd get the discussion rolling. I am trying to encourage use of cfpython at CEH. One of the questions I have been asked is can this be used to interpolate/regrid satellite swath data to a grid? The swath files have long and lat as ancillary dimensions but no dimension coordinate. I can provide example files if this helps but we just wondered if this was a trivial method that we had not noticed. Thanks in advance, Rich |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi Rich, I have not tried cf-python with swath data before, but it can deal with some unstructured grids - those with auxiliary latitudes and longitudes but not dimension coordinate - such as tri-polar grids. Are the latitude and longitude coordinates 1-d or 2-d? If you can provide a sample file, I can investigate. If it doesn't "just work", it may be a relatively minor change to get it going. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Rich, On the face of it, your data should be OK with the existing cf-python, as your lats and lons are 2-d. You'd need to tell it which dimension is "X" and which is "Y", using the src_axes keyword. I don't know about attaching a netCDF file in GitHub (there must be a way, right?) David P.S. The |
Beta Was this translation helpful? Give feedback.
Hi Rich,
On the face of it, your data should be OK with the existing cf-python, as your lats and lons are 2-d. You'd need to tell it which dimension is "X" and which is "Y", using the src_axes keyword.
I don't know about attaching a netCDF file in GitHub (there must be a way, right?)
David
P.S. The
standard_name
andunits
and inconsistent!