爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6169|回复: 3

[作图] 关于nc文件自述说明中的坐标问题

[复制链接]

新浪微博达人勋

发表于 2013-4-14 10:38:33 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
    最近刚开始学习NCL画图,需要处理一些nc文件,其自述说明如下。我对nc不是很了解,想问下这里的变量south_north、south_north存放的数据是什么意思?若要画图,横纵坐标是south_north、south_north还是lon、lat?谢谢了

netcdf VPRM_input_EVI_d01_2010 {
dimensions:
        west_east = 79 ;
        south_north = 59 ;
        time = 26 ;
        vprm_classes = 8 ;
variables:
        int Lambert_Conformal ;
                Lambert_Conformal:grid_mapping_name = "lambert_conformal_conic" ;
                Lambert_Conformal:standard_parallel = 30.f, 60.f ;
                Lambert_Conformal:longitude_of_central_meridian = 112.f ;
                Lambert_Conformal:latitude_of_projection_origin = 34.00001f ;
        float south_north(south_north) ;
                south_north:units = "m" ;
                south_north:long_name = "y coordinate of projection" ;
                south_north:standard_name = "projection_y_coordinate" ;
        float west_east(west_east) ;
                west_east:units = "m" ;
                west_east:long_name = "x coordinate of projection" ;
                west_east:standard_name = "projection_x_coordinate" ;
        float lat(south_north, west_east) ;
                lat:units = "degrees_north" ;
                lat:long_name = "latitude coordinate" ;
                lat:standard_name = "latitude" ;
        float lon(south_north, west_east) ;
                lon:units = "degrees_east" ;
                lon:long_name = "longitude coordinate" ;
                lon:standard_name = "longitude" ;
        int start_day_of_year ;
                start_day_of_year:units = "day of 2010 (ordinal date)" ;
                start_day_of_year:long_name = "1st day of measurement (1st day of 1st 8 day interval)" ;
        int time(time) ;
                time:units = "day of 2010 (ordinal date)" ;
                time:long_name = "8 day interval of MODIS reflectance data" ;
        byte vprm_classes(vprm_classes) ;
                vprm_classes:units = "vegetation class" ;
                vprm_classes:long_name = "merged SYNMAP vegetation classes" ;
        float evi(vprm_classes, time, south_north, west_east) ;
                evi:units = "count" ;
                evi:long_name = "Enhanced Vegetation Index" ;
                evi:coordniates = "lat lon" ;
                evi:grid_mapping = "Lambert_Conformal" ;
// global attributes:
                :title = "VPRM input data for the WRF-VPRM modeling system: EVI" ;
                :domain_name = "NUIST" ;
                :institution = "Max Planck Institute for Biogeochemistry, Jena, Germany" ;
                :MODIS_version = "h15v01" ;
                :VPRMpreproc_version = "Last Changed Rev: 59" ;
                :references = "\n",
                        " Ahmadov R; Gerbig C; Kretschmer R; Koerner S; Neininger B; Dolman AJ;\n",
                        " Sarrat C (2007): Mesoscale covariance of transport and CO2 fluxes:\n",
                        " evidence from observations and simulations using the WRF-VPRM coupled\n",
                        " atmosphere-biosphere model. Journal of Geophysical Research -\n",
                        " Atmospheres 112, D22107\n",
                        "\n",
                        " Ahmadov, R., Gerbig, C., Kretschmer, R., K?rner, S., R?denbeck, C.,\n",
                        " Bousquet, P., and Ramonet, M.: Can we use hourly CO2 concentration data\n",
                        " in inversions? Comparing high resolution WRF-VPRM simulations with\n",
                        " coastal tower measurements of CO2, Biogeosciences Discuss., 5,\n",
                        " 4745-4776, 2008. \n",
                        "\n",
                        " Mahadevan, P., S. Wofsy, D. M. Matross, X. Xiao, A. Dunn, J. C. Lin, C.\n",
                        " Gerbig, J. W. Munger, V. Y. Chow, and E. Gottlieb, A Satellite-Based\n",
                        " Biosphere Parameterization for Net Ecosystem CO2 Exchange: Vegetation\n",
                        " Photosynthesis and Respiration Model (VPRM), Global Biogeochem. Cycles,\n",
                        " 22, GB2005, doi:10.1029/2006GB002735, 2008.\n",
                        "\n",
                        " Martin Jung, Kathrin Henkel, Martin Herold, and Galina Churkina.\n",
                        " Exploiting synergies of global land cover products for carbon cycle modeling.\n",
                        " Remote Sensing of Environment, 101(4):534-553, April 2006. \n",
                        " " ;
                :Conventions = "CF-1.4" ;
                :comment = "\n",
                        " Lower left grid cell corner is used to reference coordinates.\n",
                        "\n",
                        " SYNMAP/VPRM mapping: \n",
                        " {(1,1),(2,2),(3,3),(1,4),(2,5),(3,6),(1,7),(2,8),(3,9),(4,10),\n",
                        "  (4,11),(4,12),(4,13),(4,14),(4,15),(4,16),(4,17),(4,18),(5,19),(5,20),\n",
                        "  (5,21),(5,22),(5,23),(5,24),(5,25),(5,26),(5,27),(6,28),(6,29),(6,30),\n",
                        "  (6,31),(6,32),(6,33),(6,34),(6,35),(6,36),(4,37),(4,38),(4,39),(4,40),\n",
                        "  (7,41),(7,42),(7,43),(6,44),(8,45),(8,46),(8,47),(8,48) | (x,y) where 1<=x<=8 is VPRM class,\n",
                        "  1<=y<=48 is SYNMAP class}\n",
                        "\n",
                        "  used VPRM classes:\n",
                        "  1 Trees evergreen\n",
                        "  2 Trees deciduous\n",
                        "  3 Trees mixed\n",
                        "  4 Trees and shrubs\n",
                        "  5 Trees and grasses\n",
                        "  6 Trees and crops\n",
                        "  7 grasses\n",
                        "  8 Barren, Urban and built-up, Permanent snow and ice  \n",
                        "  " ;
data:
south_north = -967296.7, -931296.7, -895296.7, -859296.7, -823296.7,
    -787296.7, -751296.7, -715296.7, -679296.7, -643296.7, -607296.7,
    -571296.7, -535296.7, -499296.7, -463296.7, -427296.7, -391296.7,
    -355296.7, -319296.7, -283296.7, -247296.7, -211296.7, -175296.7,
    -139296.7, -103296.7, -67296.67, -31296.67, 4703.326, 40703.32, 76703.33,
    112703.3, 148703.3, 184703.3, 220703.3, 256703.3, 292703.3, 328703.3,
    364703.3, 400703.3, 436703.3, 472703.3, 508703.3, 544703.3, 580703.3,
    616703.3, 652703.3, 688703.3, 724703.3, 760703.3, 796703.3, 832703.3,
    868703.3, 904703.3, 940703.3, 976703.3, 1012703, 1048703, 1084703, 1120703 ;
west_east = -1881504, -1845504, -1809504, -1773504, -1737504, -1701504,
    -1665504, -1629504, -1593504, -1557504, -1521504, -1485504, -1449504,
    -1413504, -1377504, -1341504, -1305504, -1269504, -1233504, -1197504,
    -1161504, -1125504, -1089504, -1053504, -1017504, -981504.1, -945504.1,
    -909504.1, -873504.1, -837504.1, -801504.1, -765504.1, -729504.1,
    -693504.1, -657504.1, -621504.1, -585504.1, -549504.1, -513504.1,
    -477504.1, -441504.1, -405504.1, -369504.1, -333504.1, -297504.1,
    -261504.1, -225504.1, -189504.1, -153504.1, -117504.1, -81504.06,
    -45504.06, -9504.062, 26495.94, 62495.94, 98495.94, 134495.9, 170495.9,
    206495.9, 242495.9, 278495.9, 314495.9, 350495.9, 386495.9, 422495.9,
    458495.9, 494495.9, 530495.9, 566495.9, 602495.9, 638495.9, 674495.9,
    710495.9, 746495.9, 782495.9, 818495.9, 854495.9, 890495.9, 926495.9 ;
time = 89, 97, 105, 113, 121, 129, 137, 145, 153, 161, 169, 177, 185, 193,
    201, 209, 217, 225, 233, 241, 249, 257, 265, 273, 281, 289 ;
vprm_classes = 1, 2, 3, 4, 5, 6, 7, 8 ;
}

密码修改失败请联系微信:mofangbao

新浪微博达人勋

0
早起挑战累计收入
发表于 2013-4-14 11:07:20 | 显示全部楼层
官网应该有用nc文件画图的例子吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

0
早起挑战累计收入
发表于 2013-4-14 11:07:28 | 显示全部楼层
官网应该有用nc文件画图的例子吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-4-14 12:46:42 | 显示全部楼层
问问兰溪吧,他是这方面的高手
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表