convert_mpas utility

Questions, issues, or suggestions related to post-processing of model output.
Post Reply
Jeremy
Posts: 3
Joined: Sun Nov 14, 2021 10:27 pm

convert_mpas utility

Post by Jeremy » Sat Apr 16, 2022 12:34 am

Hi everyone

I was trying to work with my data but it is in the MPAS raw format. For working with the data in Python , I want to interpolate it to a latlon grid. I had seen a routine called convert_mpas that does it, but I don't understand very well about the use.

Can someone explain to me how I can use this tool through an example?. Thanks


kind regards,
Jeremy

mgduda
Posts: 681
Joined: Mon Feb 26, 2018 7:35 pm

Re: convert_mpas utility

Post by mgduda » Mon Apr 18, 2022 10:06 pm

If you haven't already done so, you may want to read the "Running" section in the README.md file for the convert_mpas utility. But in any case, the simplest example would be the interpolation of fields from an MPAS-Atmosphere output file that contains information about the horizontal mesh as well as the meteorological fields to be interpolated; for example, the default "history" files produced by MPAS-Atmosphere fit this description. In this case, you could simply run, e.g.,

Code: Select all

convert_mpas history.2010-10-23_00.00.00.nc
NCAR/MMM

Jeremy
Posts: 3
Joined: Sun Nov 14, 2021 10:27 pm

Re: convert_mpas utility

Post by Jeremy » Sat Apr 30, 2022 6:49 pm

Hi

Thanks for the message.

Is ok if I use convert_mpas program to be regridding quantities like rainfall or not ?


kind regards,
jeremy

mgduda
Posts: 681
Joined: Mon Feb 26, 2018 7:35 pm

Re: convert_mpas utility

Post by mgduda » Tue May 17, 2022 12:17 am

Apologies for the long delay in posting a reply. You can certainly use the convert_mpas program to regrid fields lake rainfall, but note that the interpolation used by the program is not conservative. If you need to conservatively remap fields, the ESMF regridding tools may be worth investigating.
NCAR/MMM

Post Reply

Return to “Post-processing”