dear friend
i know that ROMS just do interpolation not extrapolation. So, i am looking froward some functions (especially in Matlab) for extrapolating input fields.
Can you help me
cheers
redhat
extrapolation
Re: extrapolation
Hi, I understand that extrapolation is like interpolation only in the end put a zero and matlab extrapolated.
Vq = interp3(___,method,extrapval*) also specifies extrapval, a scalar value that is assigned to all queries that lie outside the domain of the sample points.
If you omit the extrapval argument for queries outside the domain of the sample points, then based on the method argument interp3 returns one of the following:
The extrapolated values for the 'spline' method
NaN values for interpolation methods other than 'spline'
* This valor is cero (0).
works for me...
regards
Vq = interp3(___,method,extrapval*) also specifies extrapval, a scalar value that is assigned to all queries that lie outside the domain of the sample points.
If you omit the extrapval argument for queries outside the domain of the sample points, then based on the method argument interp3 returns one of the following:
The extrapolated values for the 'spline' method
NaN values for interpolation methods other than 'spline'
* This valor is cero (0).
works for me...
regards
Re: extrapolation
You can also use this function:
http://de.mathworks.com/help/matlab/ref ... class.html
With examples of how to use it for extrapolation here:
http://de.mathworks.com/help/matlab/mat ... ation.html
http://de.mathworks.com/help/matlab/ref ... class.html
With examples of how to use it for extrapolation here:
http://de.mathworks.com/help/matlab/mat ... ation.html
-
- Posts: 128
- Joined: Tue Feb 01, 2005 8:21 pm
- Location: Istanbul Technical University (ITU)
- Contact:
Re: extrapolation
Hi,
You can use NCL to extrapolate data. Look at the following page,
https://www.ncl.ucar.edu/Applications/grid_fill.shtml
You could also use ESMF regridding capability in NCL. In this case, you could perform two step interpolation. Look at the attached example. It interpolates low resolution atmosphere model output to high resolution ocean model grid. I hope it helps.
--ufuk
You can use NCL to extrapolate data. Look at the following page,
https://www.ncl.ucar.edu/Applications/grid_fill.shtml
You could also use ESMF regridding capability in NCL. In this case, you could perform two step interpolation. Look at the attached example. It interpolates low resolution atmosphere model output to high resolution ocean model grid. I hope it helps.
--ufuk
- Attachments
-
- esmf_extrapolation_ex.ncl
- NCL script for two level interpolation (bilinear+nn)
- (4.6 KiB) Downloaded 292 times
Re: extrapolation
I used to use the following function. Worked fine.
http://www.mathworks.com/matlabcentral/ ... paint-nans
Use with caution.
DJ@TAMU
http://www.mathworks.com/matlabcentral/ ... paint-nans
Use with caution.
DJ@TAMU
Re: extrapolation
Dear friends
i would like to offer my heartfelt appreciate for your kindly replies
cheers
redhat
i would like to offer my heartfelt appreciate for your kindly replies
cheers
redhat