fix handling of the longitude coordinate in the CDIReader

Longitude coordinates are now normalized in the interval [-pi,pi].