Ncl regrid


Ncl regrid. Hi Laura, The ESMF_regrid function got confused because you had set both DstGridType Sep 13, 2012 · From: Mary Haley <haley_at_nyahnyahspammersnyahnyah> Date: Wed Sep 12 2012 - 10:01:37 MDT. Saved searches Use saved searches to filter your results more quickly May 22, 2018 · Hi Lara, You are passing in your original data into advect_variable instead of the regridded variables. However, most commonly, regridding refers to spatial interpolation. txt > > The two output files from running regrid_ndv_mod. Firstly, I changed the SE grid to lon-lat grid using "ncremap" (NCO operator), then I used NCL "vinth2p" to do the vertical interpolation. This page contains some NCL scripts that you can download for doing creating visualizations of your data, adding shapefile outlines, adding primitives, or doing ESMF regridding. I am using the ESMF_regrid_16. ncl → A NCL script that plots the original (since NCL does not require a regular grid for plotting) and regridded data side by side Oct 30, 2014 · DKRZ NCL ESMF regridding curvilinear to rectilinear example#. 75 to 179. 1 or later. Feb 6, 2013 · > I tried to use ESMF Regrid function in NCL v6. It is the ncl function ESMF_regrid_with_weights that calls the ESMF_RegridWeightGen (that ncl function is in the large ncl script ESMF_regridding. polar_2. ncl with either bilinear > or patch. ucar. 0) option, that your masks are exactly the same. nc. Previous message: [ncl-talk] regrid data from one unstructured grid to another unstructured grid Next message: [ncl-talk] adding theoretical lower bound to a scatter plot Jan 13, 2014 · Regridding is the process of interpolating from one grid resolution to a different grid resolution. This function is identical to area_conserve_remap, except the return value will have metadata added based on the input arrays. I have tried it on other precipitation CMIP5 > model outputs as Aug 1, 2017 · This should create a NetCDF file with > the regridded data called either "ndvi3d_1982_r0. Look at the NCL website for regridding: https://www. shapefile_mask_data - masks your own data against outlines in a shapefile. Example: the actual interpolation is conducted using g2gsh_Wrap, a wrapper function that will assign all the appropriate meta data, including the gaussian latitudes, to resulting output. Next message: [ncl-talk] ESMF_regrid issue: 'ESMF_RegridWeightGen' was not successful. 10. ;===== ; ESMF_regrid_5. I have taken a regridding script found the NCL example website and modified it to handle very very large arrays and write the data, time step by time step. unl. >> >> However, I get the NCL scripts. It shows the following bunch of errors. ESMF_regrid_gen_weights is part of a suite of regridding routines based on Earth System Modeling Framework (ESMF) software. It generates weights quite okay. On Sep 11, 2012, at 11:02 PM, Schiffer, Nicole June wrote: > Oops, I meant plot_CESM2_siconc_regrid. nc (10) Source File is in ESMF format (11) Source Grid is a global grid (12) Source Grid is an unstructured grid (13) Use the corner coordinates of Nov 14, 2017 · Next message: [ncl-talk] Canonical Correlation Analysis via Barnett and Preisendorfer (BPCCA) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi Mary, I added the two lines before ESMF_regrid, but the script still doesn’t work. 75, or 0. 1deg. DKRZ NCL script:;-----; DKRZ NCL Example: NCL_rotated_grid. This could involve temporal, vertical or spatial ('horizontal') interpolations. the regrid fills in the data for > locations where the value should be NaN which subsequently “stret= ches” the > data). To restrict the area of the 1 degree grid, you can set DstLLCorner / DstURCorner to something like: Opt at DstLLCorner = (/ -30. ncl > ESMF_regrid_7. This in turn controls the path along which distances are calculated and the shape of the edges that make up a cell. au> Cc: "ncl-talk at ucar. The following NCL script reads the source and target file, regrid it using ESMF_regrid function, write the regridded variable to a new netCDF file and create a plot to compare the data. 5 degree LAI file into 0. ncl: Adds some intrinsic labels, manually sets the contour values, and creates a panel plot. ;----- ;-- NCL User Guide example: ;-- NUG_regrid_rectilinear_to_curvilinear_bilinear_wgts_destgrid_ESMF. The ESMF_regrid function regrids data from one lat/lon grid to another, using ESMF software. Feb 5, 2013 · routine that's built into the 6. edu. ; WRF-Hydro model domain, a curvilinear grid specified in a geo_em. edu wrote: > >> Yes Mary, I now notice that regridding from WRF to NARR works well with "bilinear" and "patch". The simple search algorithm used by rcm2rgrid is not capable of handling all cases. ; option specified in the command line. ncl ; ; Concepts illustrated: ; - Interpolating from one grid to another using bilinear interpolation ; - Drawing color-filled contours over a cylindrical equidistant map ; - Paneling two plots vertically on a page ; - Adding a common labelbar to paneled plots ; - Adding units attributes to lat/lon arrays ; - Turning off the individual contour labelbar ; - Manually creating (The weight file is not generated by NCL. Feb 6, 2013 · >> I tried to use ESMF Regrid function in NCL v6. There are two different ways to access the executable ESMF_RegridWeightGen. the coordinates are orthogonal). plot_shapefile - creates a basic map plot with the shapefile outlines added. ncl: An example of using g2gsh, which interpolates from one gaussian grid to another using spherical harmonics. ne0CONUSne30x8_patch_plot_simplified. latlon_to_SCRIP: Writes the description of a lat/lon grid to a SCRIP file. Will From: Mary Haley <haley at ucar. edu> Subject: Re: [ncl-talk] ESMF_regrid - SrcGridLat/SrcGridLon not recognised Hi Will, Were there any other errors with this script? The reason I ask is that it looks like ;----- ; ESMF_regrid_33. Description. Most of these are short scripts with a minimal number of resources set. Setting option =True and option @ mopt =1 will result in the function using Mar 17, 2021 · Hi NCL users! I am having a problem running a regrid script. 25d/) Opt at DstURCorner = (/ 30. Available in version 6. Download and install NCL 6. Plotting unstructured grids with MATLAB. There are numerous grid interpolation methods and users should choose the method appropriate for curvilinear_to_SCRIP is part of a suite of regridding routines based on Earth System Modeling Framework (ESMF) software. ESMF_regrid_with_weights: Using the provided weight file, regrids data from one lat/lon grid to another. area_conserve_remap_Wrap, area_hi2lores_Wrap, ESMF_regrid, linint2, linint2_Wrap, latGau, latGauWgt, latRegWgt, NormCosWgtGlobe. Here, we recommend to use the ESMF regridding software which is integrated in the NCL software package since version 6. See Also. The regridding can be done via a multi-step process that includes this procedure, or via an "all-in-one" function called ESMF_regrid. If missing values are present, then linint2 will perform the bilinear interpolation at all points possible This could take needless extra time, because it will try to regrid to areas where you may not have data. Examples ESMF_regrid: Regrids data from one lat/lon grid to another, using ESMF software. ncl : This script illustrates how to create contours of an EASE grid. 0 by manualy placing ESMF_regridding. A Python version of this projection is available here . Sep 12, 2012 · I am using ESMF_regrid to regrid a WRF. This procedure writes the description of a an unstructured grid to an ESMF description file. 0 Below is a snippet of my code. lon1d = f[0]->lon. ncl: There are times when you may not know the appropriate parallels for your native lambert conformal grid. ncl: Native lambert conformal grid from a GRIB file. Aug 4, 2011 · Re: pop regrid This message : [ Message body ] [ More options ] Related messages : [ Next message ] [ Previous message ] [ In reply to ] [ Next in thread ] [ Replies ] Sep 25, 2011 · From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah> Date: Sun Sep 25 2011 - 07:40:56 MDT. , 0. ; NCL V6. The masks are Mar 19, 2013 · > > > Hi NCL-talk, > > > > > > I want to regrid a high-resolution (~1km) MODIS GPP to a coarse resolution (1x1) grid using ESMF_regrid. Sep 12, 2012 · Re: Problems with ESMF_regrid. In order to generate contours over a map from this Hi Nicolay, in my opinion CDO can't remap those files. /" fili = "diff_tas_rcp45_20060101. 0 and later. It says “could not find ESMF_RegridWeightGen executable” after generating the source_grid_file and destination_grid_file and before generating the weights. The contributed function short2flt may be used to directly read the data. 5, then you would set this to True. lcnative_3. txt file) with (2) Simulation (lambert . >> >> ESMF_regrid_gen_weights: 'ESMF_RegridWeightGen' was successful. ncl script on my working directory. A side note: I had to change: ndvi_all at time = systemfunc Apr 15, 2013 · NCL seems to be very powerful but the learning curve seems a bit steep. ncl ; ; Concepts illustrated: ; - Interpolating from one grid to another using ESMF_regrid ; - Interpolating data from an MPAS grid to a curvilinear tripolar grid ;===== ; This example is identical to ESMF_all_11. Different kinds of transformations are appropriate for different problems. ESMF_regrid_with_weights regrids data from a source grid to a destination grid, using weights stored in the wgtFile NetCDF file. ncl ; ; Concepts illustrated: ; - Interpolating from one grid to another using ESMF_regrid ; - Interpolating data from a 'Greenland' grid to a Sep 5, 2019 · Below we provide script packages to regrid meteorological forcing data to a smaller, completely encompassed WRF-Hydro domain. Is there another simple yet better approach to take this data and > place it on a regular grid to map in NCL? > > > > Thank you for the help in advance! > > > > Marc Jun 12, 2014 · From: Mary Haley <haley_at_nyahnyahspammersnyahnyah> Date: Thu Jun 12 2014 - 12:16:33 MDT. The tools used here utilize the ESMF regridding libraries contained within the NCL software. See ESMF_wgts_5 ;----- ; NCL User Guide Example: NUG_regrid_curvilinear_to_rectilinear_bilinear_wgts_destgrid_ESMF. create_SST_files_from_B_case_with_bcgen. ESMF_regrid_gen_weights: Writes a weight file using the offline ESMF weight generator. 0 by manualy Apr 21, 2024 · The first step is to conservatively regrid the original CMIP6 emissions to the desired grid. nc files: zmksrf_lai. The projection of both the WRF and NARR files are lambert conformal. Several example scripts are provided below as a starting point, and users new to NCL may consult the extensive NCL documentation for examples and complete documentation on all functions ;===== ; ESMF_regrid_11. ncl. edu/Applications/regrid. > > > The purpose is to compare (1) Observation (latlon projection/rectilinear > grids in . ; describing the destination (WRF-Hydro) grid. Here is a snippet of my code. Project repository for the CESM python based post-processing code, documentation and issues tracking. Peter E Thornton to fulfill the need for daily climatological data necessary for plant growth model inputs, Daymet generates daily, gridded surfaces of temperature, precipitation, humidity, and radiation over large regions and takes into account areas of complex terrain. --Mary On Feb 5, 2013, at 8:46 AM, gibies george wrote: > Dear friends, > > I tried to use ESMF Regrid function in NCL v6. regrid_pole_npoints ( int) – specifies how many points to average over if polemethod == ALLAVG. d0x. e. nc (9) Weight File: vertex_2_cell. Your suggestion is highly appreciated. ncl Regrid the SST and sea-ice data from the B compset and create files in an appropriate format for processing with bcgen (you need to run bcgen afterwards to have a SST/ICE dataset in an Sep 7, 2016 · The script is > similar to ESMF_regrid_9. ncl, lines 2739-2754. 995 Lo1 : 230. nc, and zmksrf_pft. - NCAR/CESM_postprocessing For more robust regridding, see the ESMF regridding examples, which show how to regrid data from and to rectilinear, curvilinear, or unstructured grids. Script templates for NCL regridding and graphics. But, the code is buggy. This should be set to True only if you have global data, but your longitude values don't quite wrap all the way around the globe. cgd. ncl example. 75d/) --Mary On Mon, Nov 13, 2017 at 11:47 AM, Laura Fowler < laura at Feb 5, 2013 · From: gibies george <gibies_at_nyahnyahspammersnyahnyah> Date: Tue Feb 05 2013 - 08:46:40 MST. In this case, the data is stored as 16-bit integers (referred to as type "short"). 01 Lat is in degrees_north Lon in degrees_east. Hi, there I want to regrid POP ocean data from CCSM3 T31gx3v5, but get some error: Mar 13, 2019 · See attached On Mon, Mar 11, 2019 at 5:14 AM LSL < lslrsgis at whu. > The others tend to just regrid to a predefined grid, like "0. But I found a way to do it with NCL. If missing values are present, then linint2_points will perform the piecewise linear interpolation at all points possible, but will return missing values at coordinates which could not be used. ;===== ; ESMF_regrid_1. ESMPy provides a Grid to represent single-tile logically rectangular coordinate data, a Mesh for unstructured coordinates, and a LocStream for collections regrid_2. res@sfXArray = lon1d. 5 deg" or > "1x1". Drawing the contours only is much quicker, and is good for quick debugging purposes. 009999999 Dj : 0. line_type ( LineType) – select the path of the line that connects two points on the surface of a sphere. Assume xlon, ylat, and zVal are one-dimensional (1D) arrays of length KPTS. 75_bilinear. Then, I saw the function you mentioned "vinth2p_ecmwf", I found it works in dealing NCL: DAYMET: Daily Sfc Weather and Climatologies. Mar 4, 2014 · Regrid the SST and sea-ice data from the B compset and create files in an appropriate format to run with CAM2. nc" > > regrid_xxxx_output. Examples For more robust regridding, see the ESMF regridding examples, which show how to regrid data from and to rectilinear, curvilinear, or unstructured grids. nc" NetCDF file, which is a intermediate file it needs to create in order to eventually create the NetCDF weights file. ncl ;-- ;-- Description: regrid to curvilinear grid Jun 10, 2014 · > the results look a little bit off (i. For example, generate a weight file that will conservatively regrid the POP data to (say) a 1x2 grid. edu > anonymous > your_email > prompt > cd pub/shea/ESMF_EASE > ls > mget * > quit > > 518856 sep 6 16:54 EaseLatLon_100km. Nov 23, 2020 · I have two . nc";--open file and read variable f = addfile (diri + fili, "r") tas = f-> tas tas @lat2d = f-> lat;--set 2 D latitude data tas @lon2d = f-> lon;--set 2 D longitude data var = tas Aug 4, 2011 · From: Wei Liu <wliu5ster_at_nyahnyahspammersnyahnyah> Date: Thu Aug 04 2011 - 10:46:29 MDT. . linint2_points uses bilinear interpolation to interpolate from a rectilinear grid to an unstructured grid. ; describing the source rectilinear grid. ncl ; for a faster Jun 27, 2012 · That's not the problem though. regrid_pole_npoints – specifies how many points to average over if polemethod == ALLAVG. I ran your script over the first four timesteps instead of all of them, just so I could see the end result faster. ncl : This script demonstrates how to read in a NARR netCDF file into NCL. ftcurv: Calculates an interpolatory spline through a sequence of Regridding, also called remapping or interpolation, is the process of changing the grid that underlies data values while preserving qualities of the original data. If any missing values are encountered in a particular 2D input grid, then all of the values in the corresponding output grids NCL's ESMF regridding functions can be used to generate weight files: See Example 24. This procedure does not handle missing values (defined by the _FillValue attribute). An option to indicate whether the rightmost dimension of fi is cyclic. 0 is necessary for using this function. 995 Di : 0. edu" <ncl-talk at ucar. 2 and later. GRIB files contain the parallel information, and NCL automatically reads these values in and assigns them as attributes to the lat2d array. latlon_to_SCRIP is part of a suite of regridding routines based on Earth System Modeling Framework (ESMF) software. The shapefile_utils. x. nc file. Gaussian grids do not have points at the poles. This document gives a brief outline about ESMF, further information can be found at the ESMF home page at. Each compressed tar. ESMFBINDIR takes priority. ) For more robust regridding, see the ESMF regridding examples, which show how to regrid data from and to rectilinear, curvilinear, or unstructured grids. ipynb → Script to plot the regridded sea ice concentration data using a polar stereographic projection. Regridding may be needed when communicating data between Earth system model components such as land and lcnative_2. Then I use rectilinear_to_SCRIP to generate the destination grid, which I would like to be 0. ncl) on a file for precipitation instead of sea > temperature as in the template but received multiple errors. nc . 5. See ESMF_wgts_11. For example, if your longitude values go from, say, -179. ncl > ESMF_regrid_8. #28. Jane, When you use the "conserve" method, you need to provide the grid corners, otherwise the NCL-ESMF software will have to guess at them. ncl, except it does the ; regridding in one call to "ESMF_regrid". ) So your Jan 21, 2021 · Add to your existing ncl scripts, code such as: lat1d = f[0]->lat. PopLatLonV, ESMF_regrid. 1. ESMF_regrid: Regrids data from one lat/lon grid to another, using ESMF software. edu Fri Sep 4 16:23:07 MDT 2020. The data is on a 3500x7000 grid at 0. The advantage is a custom weight file can be generated. Apr 5, 2018 · On the UNIX command, before you run your script, can you type the following four commands and send the output to ncl-talk: which ncl ncl -V env | grep NCARG which ESMF_RegridWeightGen Then, also tell us how you are running "ncl". Jun 5, 2013 · The MOD16 data is in a (1200x1200) array, from a 1 km resolution Swath. I tried CDO, and also ncremap, but did not work. Beginning with NCL version 6. clyne added this to To do in Version 1. Does it reveal that the upgradation of NCL to version 6. , 359. The algorithm used assumes that all latiudes and longitudes refer to a spherical earth. ncl > > I have placed the source ERAI file and several files containing various > latitude and longitude grid configurations at the following ftp location: > > ftp ftp. 5 degree over the region of the swath. 75x0. Change this: adv_vrt = advect_variable(u, v, wr, 1, "vorticity A Gaussian grid is one where each grid point can be uniquely accessed by one-dimensional latitude and longitude arrays (i. They do not account for the fact that the earth is an ellipsoid. But there still had abnormal value near undergrond region in near surface pressure level. I didn't see any grid corner lat/lon info on your NARR file, so we are having to use whatever NCL guesses. cn > wrote: > Dear NCL community, > > > I am using ncl ESMF_regrid function to convert projection from (1) latlon > to (2) wrf lambert. The file type will be de (5) tected automatically (6) Starting weight generation with these inputs: (7) Source File: MPAS_ESMF. ncl;; 30. Either that must be in a directory included in your normal PATH variable, or else the optional shell variable ESMFBINDIR can be used to specify the directory containing ESMF_RegridWeightGen. ncl might be your best bet, because it's one of > the few where the rectilinear grid being regridded to is read off a file. 005 La2 : 20. Binary file not shown. line_type ( LineType ) – select the path of the line that connects two points on the surface of a sphere. I then call latlon_to_SCRIP with no problems. linint2 uses bilinear interpolation to interpolate from one rectilinear grid to another. Regridding from higher to the lower resolution grid. I am not using ESMF_regrid right now because I wanted to try ESMPy is a Python interface to the Earth System Modeling Framework (ESMF) regridding utility. 005 Lo2 : 299. ncl > > I think that ESMF_regrid_8. We would like to show you a description here but the site won’t allow us. uv2vrdvf operates on a fixed grid. ncl functions (interpolation) narr_2. I am running NCL 6. NCL can not determine branch, see ismissing function fatal Mar 17, 2021 · 919175314@qq_com said: Hi,. Feb 3, 2014 · > ESMF_regrid_6. It completed without any errors. I think they are both curvilinear. plot_CESM2_siconc_original_regrid. pdf> > On Sep 12, 2012, at 10:51 AM, jokalebo@huskers. 3. gsnPolar = "NH". Daymet: Developed by Dr. NCL contributed. However I was not successful (0) ESMF_regrid_gen_weights: output from 'ESMF_RegridWeightGen': Aug 2, 2019 · Port the NCL ESMF_regrid family of functions, including: ESMF_regrid. ncl script provides additional useful routines for working with shapefiles: print_shapefile_info - prints information about the shapefile. The script > attached is essentially the same as that template but with the 'conserve' > method for regridding removed. In general, data of type short must be transformed prior to calculations and plotting . clyne added the enhancement label on Aug 2, 2019. It works ok but my file keeps adding these strange ncl dimensions to the output file: uv2vrdvf takes as input u and v and returns the vorticity and divergence in the arrays vr and dv. Assume lon and lat are 2D arrays specifying grid locations. nc" or " > ndvi3d_1982_r0. I'm now trying it with the full ntime timesteps. ;----- ; regrid_1. ncl > ESMF_regrid_24. Click here for more information on ESMF regridding options, most of which are supported in ESMPy. ncl ; ; Concepts illustrated: ; - Interpolating from one grid to another using ESMF_regrid ; - Interpolating data from an NCEP grid to a 5x5 degree global grid ; - Writing data to a NetCDF file using the easy but inefficient method ;===== ; This example is identical to ESMF_all_1. cnLevelSelectionMode = "ManualLevels". The NCAR Command Language (NCL) is an interpreted language that may be used for plotting fields in MPAS-Atmosphere's netCDF input and output files. Next, I call ESMF_regrid_gen_weights and that throws an error: warning:getvardims: file (null) contains no dimensions readable by NCL fatal:The result of the conditional expression yields a missing value. m. Regrid output to regular grid Sep 12, 2012 · > <ESMF_regrid_16_region. NCL provides different functions to regrid the data using different methods. The first frame is a contour plot only, and the second frame overlays the contours on a northern hemisphere polar stereographic map. La1 : 54. 0, any interior points not interpolated in the initial interpolation pass will be filled using linear interpolation. unstructured_to_ESMF is part of a suite of regridding routines based on Earth System Modeling Framework (ESMF) software. 05 degree PFT file, so that I have high resolution LAI data. 0-beta), this function will return type float if data is float, and double if data is double or the special "ReturnDouble" attribute is set to True (see below). hobbs at utas. Then I use ESMF_regrid_gen_weights and ESMF_regrid_with_weights to interpolate. I tried running the ESMF > template (ESMF_regrid_6. Dear friends, I tried to use ESMF Regrid function in NCL v6. ncl><ESMF_regrid. Options can bet set for which years to grid to the new files. Then: grid = triple2grid2d (xlon,ylat,zVal, lon,lat, False) will use default behavior and return a 2D array of the same size as xgrid. nc Sep 12, 2012 · FW: (ESMF_regrid) is undefined This message : [ Message body ] [ More options ] Related messages : [ Next message ] [ Previous message ] [ Next in thread ] [ Replies ] ease_1. edu> Date: Tuesday, 21 August 2018 at 6:19 AM To: Will Hobbs <will. Both methods have their advantages. x "ncl" executable, and the ESMF_RegridWeightGen executable that comes with NCL V6. The interpolation is first performed in the x direction, and then in the y direction. As of V6. This may take up to 24 hours, depending on the grid Add ERA5 Forcing regrid. 0. Sep 4, 2020 · [ncl-talk] regrid data from one unstructured grid to another unstructured grid Ming Chen chenming at ucar. res@sfYArray = lat1d. ncl ; ; Concepts illustrated: ; - Interpolating from one grid to another using ESMF_regrid ; - Interpolating data from a WRF grid to a rectilinear grid ; - Using functions for cleaner code ;===== ; This example is identical to ESMF_all_5. I think in this case, the guess was not ideal, and hence you got a I believe the errors arise when trying to generate a weight file. In some cases, edge points may not It uses the input description files ( srcGridFile and dstGridFile) for the source and destination grids, and the offline "ESMF_RegridWeightGen" weight generation tool to generate the weights. ncl uses ESMF utilities and reads a file with grid information and weights for the destination grid. 0 (not V6. gz package contains NCL-based regridding scripts that will regrid ESMF_regrid: Regrids data from one lat/lon grid to another, using ESMF software. The NCL script Regrid_fv2se_cmip6_main. I want to interpolate the 0. Consider example 6 as a guide to preserve the global precipitation average and noting that both datasets use fixed (interval, i. 5 to 359. shtml. Mar 18, 2021 · Hi Jiali: The function ESMF_RegridWeightGen executable is part of the ESMF library and is not a ncl function: that is the reason why you did not find it in the ncl source code itself. Here’s a message I got: (0) get_src_grid_info: can't determine what type of source grid you have Mar 18, 2021 · Look inside ESMF_regridding. If one or more of the four closest grid rectilinear_to_SCRIP is part of a suite of regridding routines based on Earth System Modeling Framework (ESMF) software. not Gaussian) grids. This matlab routine shows how to plot results on an unstructured grid. 0 roadmap on Aug 2, 2019. nc file to destination file: NARR. > > --Mary > Mar 20, 2013 · >> I tried to use ESMF Regrid function in NCL v6. See the area_conserve_remap page for full documentation and examples. The script is appended below. Warning (find_time_vars): Time variable >time< not found! and. 14 kmf;-----begin;--define file name diri = ". nc (8) Destination File: MPAS_CELL. The longitudes are equally spaced while the latitudes are unequally spaced according to the Gaussian quadrature. 75_patch. ncl ; ; KMF ;----- load "$NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF Hi Dave, It's having problems creating the "source_file. I would suggest using Uo = area_hi2lores_Wrap (loni,lati,U,False, 1, newlon,newlat, False) You can use the same weights file to regrid across other levels and timesteps of the same variable, or across other variables, as long as the lat/lon grid that you are regridding from and to are exactly the same, and, if you use the special GridMask (or Mask2D prior to NCL V6. gsn_csm_contour_map_polar is the plot interface that draws a contour plot over a polar stereographic map. The input grid may be cyclic in the x direction. The result is that, sometimes, there are small gaps in the interpolated grids. vv zi vm ci jy xq fs pa hu hj