def get_pgraster_srid(data):
 if (data is None):
  return
 return unpack('i', data[106:114])[0]

def get_pgraster_srid ( data ) : if ( data is None ) : return return unpack ( 'i' , data [ 106 : 114 ] ) [ 0 ]
extract the srid from a postgis raster string .