[Thread Prev][Thread Next][Index]

[ferret_users] Interpolating to another depth axis



Dear Ferret Users,

   I have two sets of data on different depth axis as shown below. As you can see both ranges between 5-2000m. I would now like to interpolate Data 2 on the same axis at Data 1. This should result not only in shortening from 26 levels (in Data 2) to 24 levels (in Data 1) but at the same depth values as in Data 1. how efficiently could I do it?

Any help from the community would be highly appreciated.

Thanking you,
Sulagna

Data 1:
list votemper[d=1,x=120,y=20,l=10]
             VARIABLE : sea_water_potential_temperature (degC)
             FILENAME : EST1.nc
             SUBSET   : 24 points (Z (m))
             X        : 120
             Y        : 20
             TIME     : 01-JUL-1958 00:00 NOLEAP
                120   
               120

 5      /  1: -1.102
 15     /  2: -1.544
 25     /  3: -1.624
 35     /  4: -1.733
 45     /  5: -1.780
 55     /  6: -1.802
 65.1   /  7: -1.795
 75.1   /  8: -1.775
 85.3   /  9: -1.756
 95.5   / 10: -1.733
 106    / 11: -1.698
 116.9  / 12: -1.643
 128.7  / 13: -1.566
 142.2  / 14: -1.468
 159    / 15: -1.350
 182    / 16: -1.217
 216.6  / 17: -1.070
 272.5  / 18: -0.910
 364.3  / 19: -0.747
 511.5  / 20: -0.594
 732.2  / 21: -0.453
 1033.2 / 22: -0.374
 1405.7 / 23: -0.368
 1830.9 / 24: -0.391

Data 2:
list temp[d=2,x=120,y=20,l=10]
             VARIABLE : TEMPERATURE (deg. C)
             FILENAME : EST2.nc
             SUBSET   : 26 points (DEPTH (m))
             LONGITUDE: 120E
             LATITUDE : 20N
             TIME     : 14-JAN-1958 16:30
                120E   
                120
 5       /  1: -1.102
 15.1    /  2: -1.108
 25.3    /  3: -1.135
 35.8    /  4: -1.361
 46.6    /  5: -1.492
 58      /  6: -1.572
 70      /  7: -1.657
 82.9    /  8: -1.593
 96.9    /  9: -1.351
 112.3   / 10: -0.732
 129.5   / 11: -0.124
 149     / 12:  0.137
 171.4   / 13:  0.215
 197.8   / 14:  0.256
 229.5   / 15:  0.296
 268.5   / 16:  0.334
 317.6   / 17:  0.374
 381.4   / 18:  0.423
 465.9   / 19:  0.468
 579.3   / 20:  0.467
 729.3   / 21:  0.367
 918.4   / 22:  0.236
 1139.2  / 23:  0.110
 1378.6  / 24:  0.007
 1625.7  / 25: -0.089
 1875.1  / 26: -0.174

-- 
Sulagna Ray
Postdoctoral Researcher
LOCEAN/IPSL
Universite Pierre et Marie Curie
4 place Jussieu, 75252 Paris Cedex 05,  France


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement