<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p>Hi, <br>
</p>
<p>This issue is related to:</p>
<ul>
<li><a class="moz-txt-link-freetext" href="https://github.com/mapserver/mapserver/commit/722716c49de2399f54b275ab31437f0e8c92cd63">https://github.com/mapserver/mapserver/commit/722716c49de2399f54b275ab31437f0e8c92cd63</a>
</li><li><a class="moz-txt-link-freetext" href="https://github.com/mapserver/mapserver/commit/4c2aeb4bbd229723d8ea67c337cf02350575b2ae">https://github.com/mapserver/mapserver/commit/4c2aeb4bbd229723d8ea67c337cf02350575b2ae</a>
</li></ul>
<p>The issue is that when I try to visualize (via WMS) a layer with a NetCDF data file with longitude from 0° to 360° in EPSG:3857, there is a sliver around longitude 0° where no data is displayed.</p>
<p>We already had that issue with the same files using EPSG:4326 and it's been fixed in MapServer (see merge request above).</p>
<p>Here is where you can find example files: <a class="moz-txt-link-freetext" href="https://dd.weather.gc.ca/model_giops/netcdf/lat_lon/2d/00/003/CMC_giops_votemper_depth_0.5_latlon0.2x0.2_3h-mean_">
https://dd.weather.gc.ca/model_giops/netcdf/lat_lon/2d/00/003/CMC_giops_votemper_depth_0.5_latlon0.2x0.2_3h-mean_</a>{yyyymmdd}00_P003.nc</p>
<p>We are testing using: <i>MapServer version 7.4.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE</i><br>
</p>
<p>Here is a minimal mapfile to reproduce:</p>
<p><font size="-1"> MAP<br>
NAME ""<br>
IMAGETYPE PNG<br>
EXTENT -180 -90 180 90<br>
MAXSIZE 4096<br>
SIZE 500 300<br>
IMAGECOLOR 255 255 255<br>
PROJECTION<br>
"init=epsg:4326"<br>
END<br>
TRANSPARENT ON<br>
DEBUG 5<br>
WEB<br>
METADATA<br>
"ows_extent" "-180 -90 180 90"<br>
"wms_getmap_formatlist" "image/png,image/jpeg"<br>
"wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ"<br>
"wms_getfeatureinfo_formatlist" "text/plain"<br>
"ows_enable_request" "*"<br>
"ows_abstract" ""<br>
"ows_srs" "EPSG:4326 EPSG:3857"<br>
"ows_title" ""<br>
END<br>
END<br>
LAYER<br>
NAME "TEST"<br>
DEBUG 5<br>
TYPE RASTER<br>
PROCESSING "GDAL_NETCDF_BOTTOMUP=YES"<br>
TOLERANCE 15<br>
TEMPLATE "ttt.html"<br>
PROJECTION<br>
"proj=longlat"<br>
"a=6371229"<br>
"b=6371229"<br>
"lon_wrap=180"<br>
"no_defs"<br>
END<br>
DATA ''<br>
METADATA<br>
"ows_title" ""<br>
"ows_abstract" ""<br>
"ows_extent" "-180 -80.1 180 89.9"<br>
"ows_geomtype" "Geometry"<br>
END<br>
CLASS<br>
NAME ""<br>
STYLE<br>
COLORRANGE 0 0 127 127 0 0<br>
DATARANGE 200.00 400<br>
END<br>
END<br>
END<br>
END</font><br>
<br>
</p>
</body>
</html>