Remapping of Curvilinear data (COSMO) on regular Sentinel 5P grid #7396
Unanswered
sauerland154
asked this question in
General
Replies: 1 comment
-
isn't this just a nearest neighbor interpolation? If so, you should be able to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am a PhD student at the German Aerospace Center in Munich. I have an xarray DataArray with COSMO model data. My goal is to remap these data with 2d coordinates geolon (rlon,rlat) and geolat (rlon,rlat) onto the regular Satellite grid (Sentinel5P) where longitude(scaline, ground_pixel) and latitude(scaline,ground_pixel) are the Sentinel5P coordinates.
In order to do so, I don't want to apply an interpolation or a built-in remapping with xesmf. With this the model values will change. I want a remapping method, where the mass of the COSMO model data in my xarray DataArray will be conserved.
I've wrote a little function, which should show exactly what I want to do. But this takes to long in a for loop. I really want to apply it on the whole xarray DataArray at once so vectorised:
for loop:
The ultimate goal is to find the position for each tracer_gp_NO2 (curvilinear) on the regular satellite grid without changing the order of magnitude of the tracer_gp_NO2 mixing ratio.
So do you maybe know, if there is an out of the box solution for xarray for such a problem? If you have any questions do not hesitate to comment this thread.
Cheers, Markus.
Beta Was this translation helpful? Give feedback.
All reactions