I have two sets of satellite data. For both sets, I have the pixel geometry (latitude and longitude of each corner of the pixel). I would like to regrid one set to the other. Thus, my goal is area-weighted regridding from an irregular grid to another irregular grid. I am aware of xESMF, but am unsure if that is the best tool for the job. Perhaps iris area weighting regrid would be appropriate?
Regridding from one irregular lat lon grid to another irregular lat lon grid
606 views Asked by Nick At
1
There are 1 answers
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYTHON-XARRAY
- How to add a new variable to xarray.Dataset in Python with same time,lat,lon dimensions with assign?
- get the band with the maximum value from a xarray stack
- Writing lat long co-ordinates for an 2-d array and making a .nc file out of it
- How to drop all coordinates and variables without dimensions in xarray
- Preserve coordinates in xarray.Dataset when subsetting a DataArray
- convert dataframe to netcdf multidimension using python
- Resampling chunked xarray creates many undesired time chunks
- How do I extract all the values from one variable in a NetCDF file with Python?
- Reproject large raster using Python
- Attribute Error while converting cdf file to xarray dataset
- Unexpected behavior when slicing xarray DataArray over the y dimension
- Use xr.apply_unfunc on a function that can only take scalars, with an input of multi-dimensional DataArrays
- python-xarray: How to create a Dataset and assign results of an iteration to the Dataset?
- Retrieve data from a .grib file for a specific latitude/longitude and convert it to a .csv file
- Assigning coordinates in existing xarray dataset and changing format for epoch
Related Questions in NETCDF4
- How to setup the netCDF4 package in multistage docker build?
- Finding indices of NetCDF dataset based on condition of second dataset with same gridscale, but different gridpoints
- Extracting SSt data from netCDF4 using SPYDER
- How to convert cftime to unix timestamp?
- How to convert from netcdf4 format back to netcdf/netcdf3? Ocean Current files
- Using python to fill in missing days in a netCDF
- Extracting areal precipitation from multiple location from large netcdf files
- Dask vs simple sequential app : writing unbounded data to a - single - NetCDF
- How to take the time coordinate in a NetCDF file to use a title string in Python
- fill/build a netcdf4 or numpy array from a CVA string array stored in a txt file
- netCDF4 multi-file dataset
- Adjusting gridded data on two different grid resolutions
- How to perform field significance of a test in Python?
- Extracting data using bounding box coordinates from netcdf files?
- Save daily data for each year for 4d array
Related Questions in PYTHON-IRIS
- How to extend colorbar using iris quick plot
- How can I create a boxplot using iqplot with a list of cubes in python-iris?
- Why is Iris merging coordinates from different pressure domain profiles?
- How to solve dead kernel on Jupyter?
- How to apply custom calculation between two IRIS cubes (GRIB files)? Considering also using xarray
- pip install scitools-iris error in subprocess (getting requirements to build wheel)
- Control vmin and vmax in Iris 'animate'?
- How to convert auxiliary coordinates to dimension coordinates in a cube in iris?
- CMIP ocean model data not loading properly into python iris?
- Group_by in iris using mean calculation
- Udunits2 installation in python
- Regridding from one irregular lat lon grid to another irregular lat lon grid
- Can you download SciTools Iris package on google colab?
- How to insert line function (x=) onto iris data cube graph without changing axis scale?
- How to only plot data on the hour from a 6 hour dataset cube (iris)?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I've ran into similar things in the past. I'm on Windows, and xEMSF wasn't really an option for me.
I've written this package, and added some methods for computing grid to grid weights: https://github.com/Deltares/numba_celltree
(You can pip install it.)
The data structure can deal with fully unstructured 2D meshes, and expects the data in such a format. See the code below.
You will need to make some changes: your coordinates aren't named x and y most likely. You will also need to update the
ugrid2d_topologyfunction somewhat, since I'm assuming regular quadrilateral grids here (but they're irregular when seen in each others coordinate system).It's still pretty straightforward, just make sure you have 2D array of vertices, and a
face_node_connectivityarray of shape(n_cell, 4)which maps for every face its four vertices. See this documention for a little more background: https://ugrid-conventions.github.io/ugrid-conventions/