[mapserver-users] Re: mapserver + grib files + explanation and questions

Muro muraro_davide at hotmail.com
Fri Jul 2 05:57:21 EDT 2010


Dear Frank,

First of all, thank you very  much for your reply.
Sorry, if I reply only now, it took time to do tests.


LINK:
http://[SERVER]mapserv/jrc?map=/var/www/html/grib-test/mapserver/grib.map&LAYERS=EUD201006_cp-lsp&FORMAT=image%2Fpng&MAXEXTENT=left-bottom%3D%28-35%2C29.5%29%20right-top%3D%2845.5%2C75%29&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A4326&BBOX=-60.667969%2C8.304688%2C71.167969%2C96.195313&X=239&Y=225&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=EUD201006_cp-lsp&WIDTH=750&HEIGHT=500


Time to process it: Immediately
PROCESSING "BANDS=1,2,3,4,5,6,7,8,9,10"
8.7738037e-05,0.00016784668,0.00022125244,0.00029754639,0.00031280518,0.00035095215,0.00035858154,0.00038146973,0.00039672852,0.00039672852


Time to process it: Immediately
PROCESSING "BANDS=10,100,1000,3000,4000,5000,6000"
2.0862938e-33,2.0862968e-33,0.00086975098,0.016693115,0.010494232,0.00038146973,0.013940811

Time to process it: 20 seconds
PROCESSING "BANDS=30,250,251,252,259,280,6135,6136"
0.0052089691, 0.009759903, 0.009759903, 0.009759903, 0.0097885132,
0.0078086853, 0.026855469, 0.027008057

Time to process it: Immediately
PROCESSING "BANDS=30,250,251,252,253,254,255"
3.8710469e-33, 2.7528285e-33, 0.009759903, 0.009759903, 0.009759903,
0.009759903, 0.009759903

Time to process it: Immediately
PROCESSING "BANDS=6129,6130,6131,6132,6133,6134,6135,6136"
0.025232315,0.02602005,0.026279449,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: Immediately
PROCESSING "BANDS=6130,6131,6132,6133,6134,6135,6136"
8.0113099e-34,6.0489029e-34,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: Immediately
PROCESSING "BANDS=6129,6130,6131,6132,6133,6134,6135,6136"
0.025232315,0.02602005,0.026279449,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING "BANDS=6128,6129,6130,6131,6132,6133,6134,6135,6136"
[Fri Jul 02 11:32:57 2010] [error] [client 139.191.16.109] *** glibc
detected *** /usr/sbin/mapserv: corrupted double-linked list: 0x0986b590 ***

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING "BANDS=6127,6128,6129,6130,6131,6132,6133,6134,6135,6136"
[Fri Jul 02 11:18:19 2010] [error] [client IP] *** glibc detected ***
/usr/sbin/mapserv: corrupted double-linked list: 0x0a10c5a0 ***

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING
"BANDS=500,1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000"
[Fri Jul 02 11:37:09 2010] [error] [client IP] *** glibc detected ***
/usr/sbin/mapserv: corrupted double-linked list: 0x0961e5a0 ***


Grib dump:
Band 6128 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278547200 sec UTC
    GRIB_FORECAST_SECONDS=691200 sec
Band 6129 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278568800 sec UTC
    GRIB_FORECAST_SECONDS=712800 sec
Band 6130 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278590400 sec UTC
    GRIB_FORECAST_SECONDS=734400 sec
Band 6131 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278612000 sec UTC
    GRIB_FORECAST_SECONDS=756000 sec
Band 6132 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278633600 sec UTC
    GRIB_FORECAST_SECONDS=777600 sec
Band 6133 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278655200 sec UTC
    GRIB_FORECAST_SECONDS=799200 sec
Band 6134 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278676800 sec UTC
    GRIB_FORECAST_SECONDS=820800 sec
Band 6135 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278698400 sec UTC
    GRIB_FORECAST_SECONDS=842400 sec
Band 6136 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
    GRIB_UNIT=[m]
    GRIB_COMMENT=Convective precipitation [m]
    GRIB_ELEMENT=CP
    GRIB_SHORT_NAME=0-SFC
    GRIB_REF_TIME=  1277856000 sec UTC
    GRIB_VALID_TIME=  1278720000 sec UTC
    GRIB_FORECAST_SECONDS=864000 sec


I suppose, the Grib is read sequentially?

I don't understand, why does mapserver crash?
Ideas?

I will create a more useful grib file cutting the values:
0.026779175 to 0
7.122749175 to 7.1
and I will check the performance.

Thank you!!!






-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/mapserver-grib-files-explanation-and-questions-tp5243456p5247104.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list