Hi Daniele,

Thanks for your reply - I'll have a look at the docs - I might have missed some important information over there!

In the meantime, happy to share the nc headers:

dimensions:
    lon = 7508 ;
    lat = 6431 ;
    time = UNLIMITED ; // (12 currently)
variables:
    float time(time) ;
        time:units = "days since 1970-1-1 00:00:00" ;
        time:standard_name = "time" ;
        time:calendar = "gregorian" ;
    float lon(lon) ;
        lon:units = "degrees_east" ;
        lon:standard_name = "longitude" ;
        lon:long_name = "longitude" ;
    float lat(lat) ;
        lat:units = "degrees_north" ;
        lat:standard_name = "latitude" ;
        lat:long_name = "latitude" ;
    int crs ;
        crs:long_name = "Coordinate Reference System" ;
        crs:grid_mapping_name = "lambert_azimuthal_equal_area" ;
        crs:longitude_of_projection_origin = 10. ;
        crs:latitude_of_projection_origin = 52. ;
        crs:false_easting = 4321000. ;
        crs:false_northing = 3210000. ;
        crs:longitude_of_prime_meridian = 0LL ;
        crs:crs_wkt = "PROJCS[\"ETRS89 / LAEA Europe\",GEOGCS[\"ETRS89\",DATUM[\"European_Terrestrial_Reference_System_1989\",SPHEROID[\"GRS 1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6258\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4258\"]],PROJECTION[\"Lambert_Azimuthal_Equal_Area\"],PARAMETER[\"latitude_of_center\",52],PARAMETER[\"longitude_of_center\",10],PARAMETER[\"false_easting\",4321000],PARAMETER[\"false_northing\",3210000],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AUTHORITY[\"EPSG\",\"3035\"]]" ;
    float vd(time, lat, lon) ;
        vd:_FillValue = -9999.f ;
        vd:units = "seconds" ;
        vd:long_name = "Vessel density" ;
        vd:missing_value = -9999.f ;
        vd:grid_mapping = "crs" ;

On 19.07.22 18:38, Daniele Romagnoli wrote:
Hi Frederic,
could you please show us a "ncdump -h" output of that file?
Where that attribute is being set?

Did you check these sections of the GeoServer doc?
https://docs.geoserver.org/stable/en/user/extensions/netcdf/netcdf.html#supporting-custom-netcdf-coordinate-reference-systems
https://docs.geoserver.org/stable/en/user/extensions/netcdf/netcdf.html#wkt-attributes

Please, let us know.

Regards,

Daniele Romagnoli

==GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for more information.==Daniele RomagnoliSenior Software EngineerGeoSolutions Groupphone: +39 0584 962313fax:      +39 0584 1660272https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


On Tue, Jul 19, 2022 at 3:19 PM Frederic Leclercq <frederic.lecle...@vliz.be> wrote:

    Hi all,

    Anyone managed to serve a NetCDF in EPSG:3035? I've added the CRS_wkt
    property in the file:

    "PROJCS[\"ETRS89 / LAEA
    
Europe\",GEOGCS[\"ETRS89\",DATUM[\"European_Terrestrial_Reference_System_1989\",SPHEROID[\"GRS

    
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6258\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4258\"]],PROJECTION[\"Lambert_Azimuthal_Equal_Area\"],PARAMETER[\"latitude_of_center\",52],PARAMETER[\"longitude_of_center\",10],PARAMETER[\"false_easting\",4321000],PARAMETER[\"false_northing\",3210000],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AUTHORITY[\"EPSG\",\"3035\"]]"

    The file is correct being displayed in QGIS, unfortunately not in
    GeoServer - any ideas on how to get this working? Geoserver thinks
    this
    file is in EPSG:4326 - and even if I "force declared" SRS to
    EPSG3035 -
    it still doesn't work. Most probably I'll need  to add/change some
    CRS
    settings in the NetCDF file - but anyone figured out how to make that
    work in GeoServer?

    Thanks!
    Fred.



    _______________________________________________
    Geoserver-users mailing list

    Please make sure you read the following two resources before
    posting to this list:
    - Earning your support instead of buying it, but Ian Turton:
    http://www.ianturton.com/talks/foss4g.html#/
    - The GeoServer user list posting guidelines:
    http://geoserver.org/comm/userlist-guidelines.html

    If you want to request a feature or an improvement, also see this:
    
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


    Geoserver-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/geoserver-users
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to