NetCDF格式.nc

netcdf sfc_pres_temp { 
     dimensions: 
     latitude = 6 ;        //纬度轴 
     longitude = 12 ;      //经度轴 
     variables: 
     float latitude(latitude) ;    //坐标变量,存储具体纬度 
     latitude:units = “degrees_north” ; 
     float longitude(longitude) ;  //坐标变量,存储具体纬度 
     longitude:units = “degrees_east” ; 
     float pressure(latitude, longitude) ;   //某个点(经度和纬度的交点)的大气压值 
     pressure:units = “hPa” ;           //大气压的单位为 
     float temperature(latitude, longitude) ; //某个点(经度和纬度的交点)的温度值 
     temperature:units = “celsius” ;    //温度的单位为 
     data: 
     latitude = 25, 30, 35, 40, 45, 50 ; 
     longitude = -125, -120, -115, -110, -105, -100, -95, -90, -85, -80, -75, -70 ; 
     pressure = 
     900, 906, 912, 918, 924, 930, 936, 942, 948, 954, 960, 966, 
     901, 907, 913, 919, 925, 931, 937, 943, 949, 955, 961, 967, 
     902, 908, 914, 920, 926, 932, 938, 944, 950, 956, 962, 968, 
     903, 909, 915, 921, 927, 933, 939, 945, 951, 957, 963, 969, 
     904, 910, 916, 922, 928, 934, 940, 946, 952, 958, 964, 970, 
     905, 911, 917, 923, 929, 935, 941, 947, 953, 959, 965, 971 ; 
     temperature = 
     9, 10.5, 12, 13.5, 15, 16.5, 18, 19.5, 21, 22.5, 24, 25.5, 
     9.25, 10.75, 12.25, 13.75, 15.25, 16.75, 18.25, 19.75, 21.25, 22.75, 24.25, 25.75, 
     9.5, 11, 12.5, 14, 15.5, 17, 18.5, 20, 21.5, 23, 24.5, 26, 
     9.75, 11.25, 12.75, 14.25, 15.75, 17.25, 18.75, 20.25, 21.75, 23.25, 24.75, 
     26.25, 
     10, 11.5, 13, 14.5, 16, 17.5, 19, 20.5, 22, 23.5, 25, 26.5, 
     10.25, 11.75, 13.25, 14.75, 16.25, 17.75, 19.25, 20.75, 22.25, 23.75, 25.25

对于上面的数据,就是
latitude = 25,longitude = -125时,pressure = 900,temperature = 9;
latitude = 25,longitude = -120时,pressure = 906,temperature = 10.5;
以此类推。

参考链接:https://www.csdn.net/gather_28/MtjaYg2sMzcxMTMtYmxvZwO0O0OO0O0O.html

原文地址:https://www.cnblogs.com/TheoryDance/p/13947121.html