Smos-ee-to-netcdf cant find netcdf library

Trying to run the standalone version of smos-ee-to-netcdf and It complains it has no netcdf library. I thought it had this internally.

We use LMOD Module system. I have the module for netcdf loaded, so the variable $NETCDF_DIR etc are all set yet the tool does not find the libnetcdf.so

maca@aa6-100 [2022-03-01 11:08:12] /ec/res4/scratch/maca/lim/lim_aa/lib/scripts/smos-ee-to-netcdf $> ./smos-ee-to-nc.sh -l ALL --target-directory ./ SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip
INFO: org.hsqldb.persist.Logger: dataFileCache open start
Mar 01, 2022 11:12:55 AM org.esa.snap.core.dataio.AbstractProductReader readProductNodes
FINE: Finish reading the product: input: SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip, reader: org.esa.smos.dataio.smos.SmosProductReader, size: 16384x8064, elapsed time: 1.831 seconds.
Mar 01, 2022 11:12:55 AM org.esa.smos.ee2netcdf.NetcdfExporter exportProduct
INFO: Converting product: SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip …
INFO: org.esa.smos.ee2netcdf.NetcdfExporter: Converting product: SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip …
99 [main] WARN serverStartup - Nc4Iosp: NetCDF-4 C library not present (jna_path=‘null’, libname=‘netcdf’).
java.lang.UnsatisfiedLinkError: Unable to load library ‘netcdf’:
libnetcdf.so: cannot open shared object file: No such file or directory
libnetcdf.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libnetcdf.so) not found in resource path (./lib/snap-virtual-file-system-ui-8.0.0.jar:./lib/thumbnailator-0.4.5.jar:./lib/guava-24.1.1-jre.jar:./lib/GeographicLib-Java-1.49.jar:./lib/snap-virtual-file-system-8.0.0.jar:./lib/gt-geotiff-20.0.jar:./lib/imageio-ext-streams-1.3.3.2-SNAP.jar:./lib/jai_imageio-1.1.jar:./lib/javahelp-2.0.05.jar:./lib/snap-python-8.0.0.jar:./lib/org-openide-windows-RELEASE82.jar:./lib/jsoup-1.11.3.jar:./lib/jaxb-api-2.4.0-b180830.0359.jar:./lib/gt-referencing-20.0.jar:./lib/snap-tango-8.0.0.jar:./lib/uom-se-1.0.8.jar:./lib/gt-api-20.0.jar:./lib/org-netbeans-api-intent-RELEASE82.jar:./lib/doc-windows-1.0.jar:./lib/jt-colorindexer-1.1.1.jar:./lib/jt-crop-1.1.1.jar:./lib/jna-platform-5.5.0.jar:./lib/ceres-metadata-8.0.0.jar:./lib/jt-translate-1.1.1.jar:./lib/org-netbeans-core-startup-RELEASE82.jar:./lib/tiled-editors-1.0.jar:./lib/gt-xsd-core-20.0.jar:./lib/jt-bandselect-1.1.1.jar:./lib/ceres-jai-8.0.0.jar:./lib/snap-statistics-8.0.0.jar:./lib/ceres-ui-8.0.0.jar:./lib/jt-imagefunction-1.1.1.jar:./lib/snap-netcdf-8.0.0.jar:./lib/annotations-17.0.0.jar:./lib/systems-common-java8-0.7.2.jar:./lib/org-openide-modules-RELEASE82.jar:./lib/org-netbeans-modules-javahelp-RELEASE82.jar:./lib/jpy-0.9.0.jar:./lib/jdom2-2.0.4.jar:./lib/org-openide-nodes-RELEASE82.jar:./lib/org-netbeans-api-progress-RELEASE82.jar:./lib/org-netbeans-libs-asm-RELEASE82.jar:./lib/jt-zonal-1.1.1.jar:./lib/smos-reader-5.8.0.jar:./lib/ceres-glayer-8.0.0.jar:./lib/txw2-2.4.0-b180830.0438.jar:./lib/ceres-core-8.0.0.jar:./lib/commons-cli-1.2.jar:./lib/jt-border-1.1.1.jar:./lib/uom-lib-common-1.0.2.jar:./lib/org-netbeans-modules-autoupdate-ui-RELEASE82.jar:./lib/smos-tools-5.8.0.jar:./lib/gt-xsd-gml3-20.0.jar:./lib/mlibwrapper-jai-openjdk-1.1.4.jar:./lib/commons-math3-3.2.jar:./lib/velocity-1.7.jar:./lib/error_prone_annotations-2.1.3.jar:./lib/org-netbeans-core-startup-base-RELEASE82.jar:./lib/org-openide-io-RELEASE82.jar:./lib/unit-api-1.0.jar:./lib/jt-utils-1.5.0.jar:./lib/jt-warp-1.1.1.jar:./lib/jna-5.5.0.jar:./lib/ejml-ddense-0.39.jar:./lib/jt-affine-1.1.1.jar:./lib/j2objc-annotations-1.1.jar:./lib/org-netbeans-api-templates-RELEASE82.jar:./lib/jt-mosaic-1.1.1.jar:./lib/commons-collections-3.2.2.jar:./lib/org-netbeans-modules-sendopts-RELEASE82.jar:./lib/jt-vectorbin-1.1.1.jar:./lib/jt-iterators-1.1.1.jar:./lib/org-netbeans-core-RELEASE82.jar:./lib/xpp3_min-1.1.4c.jar:./lib/jt-nullop-1.1.1.jar:./lib/jt-zonalstats-1.5.0.jar:./lib/org-openide-util-RELEASE82.jar:./lib/jt-buffer-1.1.1.jar:./lib/snap-core-8.0.0.jar:./lib/jt-rlookup-1.1.1.jar:./lib/jt-orderdither-1.1.1.jar:./lib/gt-shapefile-20.0.jar:./lib/commons-io-2.6.jar:./lib/jai-core-openjdk-1.1.4.jar:./lib/ceres-binding-8.0.0.jar:./lib/slf4j-simple-1.6.6.jar:./lib/jide-oss-3.6.1.jar:./lib/snap-ui-8.0.0.jar:./lib/org-netbeans-swing-plaf-RELEASE82.jar:./lib/jai-codec-openjdk-1.1.4.jar:./lib/commons-net-3.3.jar:./lib/si-quantity-0.7.1.jar:./lib/jt-scale-1.1.1.jar:./lib/xstream-1.4.8.jar:./lib/org-openide-dialogs-RELEASE82.jar:./lib/jt-colorconvert-1.1.1.jar:./lib/org-openide-filesystems-RELEASE82.jar:./lib/jgridshift-1.0.jar:./lib/org-openide-loaders-RELEASE82.jar:./lib/org-netbeans-modules-editor-mimelookup-RELEASE82.jar:./lib/gt-main-20.0.jar:./lib/jt-rescale-1.1.1.jar:./lib/js-1.7R1.jar:./lib/org-netbeans-spi-quicksearch-RELEASE82.jar:./lib/org-openide-filesystems-nb-RELEASE82.jar:./lib/jt-lookup-1.1.1.jar:./lib/commons-lang-2.6.jar:./lib/updater-RELEASE82.jar:./lib/jt-format-1.1.1.jar:./lib/jt-utilities-1.1.1.jar:./lib/jai-imageio-1.2-SNAP-20150402.jar:./lib/jfreechart-1.0.14.jar:./lib/jt-bandcombine-1.1.1.jar:./lib/snap-main-8.0.0.jar:./lib/org-netbeans-modules-settings-RELEASE82.jar:./lib/checker-compat-qual-2.0.0.jar:./lib/netcdfAll-5.3.1.jar:./lib/org-netbeans-modules-sampler-RELEASE82.jar:./lib/Jama-1.0.3.jar:./lib/jt-piecewise-1.1.1.jar:./lib/gt-metadata-20.0.jar:./lib/org-netbeans-modules-options-api-RELEASE82.jar:./lib/gt-wms-20.0.jar:./lib/jt-scale2-1.1.1.jar:./lib/org-netbeans-bootstrap-RELEASE82.jar:./lib/commons-codec-1.6.jar:./lib/ejml-core-0.39.jar:./lib/org-netbeans-api-progress-nb-RELEASE82.jar:./lib/org-netbeans-modules-keyring-RELEASE82.jar:./lib/smos-ee2netcdf-5.8.0.jar:./lib/snap-rcp-8.0.0.jar:./lib/commons-logging-1.1.1.jar:./lib/jdom-1.1.jar:./lib/gt-xml-20.0.jar:./lib/org-openide-actions-RELEASE82.jar:./lib/jsr305-1.3.9.jar:./lib/org-netbeans-modules-autoupdate-services-RELEASE82.jar:./lib/commons-jxpath-1.3.jar:./lib/animal-sniffer-annotations-1.14.jar:./lib/slf4j-api-1.6.6.jar:./lib/org.eclipse.emf.ecore-2.12.0.jar:./lib/hsqldb-2.4.1.jar:./lib/org-openide-awt-RELEASE82.jar:./lib/jai_codec-1.1.3.jar:./lib/imageio-ext-geocore-1.3.3.2-SNAP.jar:./lib/jt-shadedrelief-1.1.1.jar:./lib/jt-classifier-1.1.1.jar:./lib/org.eclipse.emf.common-2.12.0.jar:./lib/jcip-annotations-1.0.jar:./lib/org-netbeans-swing-outline-RELEASE82.jar:./lib/xmlpull-1.1.3.1.jar:./lib/org-openide-util-ui-RELEASE82.jar:./lib/istack-commons-runtime-3.0.7.jar:./lib/org-netbeans-api-io-RELEASE82.jar:./lib/org-openide-util-lookup-RELEASE82.jar:./lib/imageio-ext-utilities-1.3.3.2-SNAP.jar:./lib/asm-all-5.0.1.jar:./lib/picocontainer-1.2.jar:./lib/gt-xsd-gml2-20.0.jar:./lib/jaxb-runtime-2.4.0-b180830.0438.jar:./lib/snap-runtime-8.0.0.jar:./lib/snap-gpf-8.0.0.jar:./lib/org.eclipse.emf.ecore.xmi-2.12.0.jar:./lib/FastInfoset-1.2.15.jar:./lib/org-netbeans-api-annotations-common-RELEASE82.jar:./lib/stax-ex-1.8.jar:./lib/jt-errordiffusion-1.1.1.jar:./lib/org-netbeans-modules-queries-RELEASE82.jar:./lib/disruptor-1.2.13.jar:./lib/gt-render-20.0.jar:./lib/commons-pool-1.5.4.jar:./lib/jt-binarize-1.1.1.jar:./lib/gt-opengis-20.0.jar:./lib/gt-coverage-20.0.jar:./lib/jt-algebra-1.1.1.jar:./lib/joda-time-2.2.jar:./lib/swingx-all-1.6.5-1.jar:./lib/gt-cql-20.0.jar:./lib/xml-commons-resolver-1.2.jar:./lib/jts-core-1.16.0.jar:./lib/jt-bandmerge-1.1.1.jar:./lib/clibwrapper-jiio-1.2-20090918.jar:./lib/jai_core-1.1.3.jar:./lib/commons-httpclient-3.1.jar:./lib/org-openide-text-RELEASE82.jar:./lib/si-units-java8-0.7.1.jar:./lib/imageio-ext-tiff-1.3.3.2-SNAP.jar:./lib/javax.activation-api-1.2.0.jar:./lib/gt-data-20.0.jar:./lib/org.eclipse.xsd-2.12.0.jar:./lib/ceres-binio-8.0.0.jar:./lib/gt-epsg-hsql-20.0.jar:./lib/snap-binning-8.0.0.jar:./lib/beansbinding-1.2.1-RELEASE82.jar:./lib/jt-stats-1.1.1.jar:./lib/jcommon-1.0.17.jar:./lib/org-openide-explorer-RELEASE82.jar:./lib/jewelcli-0.8.5.jar:./lib/org-netbeans-swing-tabcontrol-RELEASE82.jar:./lib)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
at com.sun.jna.Library$Handler.(Library.java:192)
at com.sun.jna.Native.load(Native.java:596)
at com.sun.jna.Native.load(Native.java:570)
at ucar.nc2.jni.netcdf.Nc4Iosp.load(Nc4Iosp.java:124)
at ucar.nc2.jni.netcdf.Nc4Iosp.isClibraryPresent(Nc4Iosp.java:166)
at ucar.nc2.jni.netcdf.Nc4Iosp.create(Nc4Iosp.java:2369)
at ucar.nc2.NetcdfFileWriter.create(NetcdfFileWriter.java:902)
at org.esa.snap.dataio.netcdf.nc.NFileWriteable.create(NFileWriteable.java:111)
at org.esa.smos.ee2netcdf.NetcdfExporter.exportProduct(NetcdfExporter.java:60)
at org.esa.smos.ee2netcdf.NetcdfExporter.exportFile(NetcdfExporter.java:88)
at org.esa.smos.ee2netcdf.NetcdfExportTool.execute(NetcdfExportTool.java:145)
at org.esa.smos.ee2netcdf.NetcdfExportTool.run(NetcdfExportTool.java:92)
at org.esa.smos.ee2netcdf.NetcdfExportTool.main(NetcdfExportTool.java:83)
Suppressed: java.lang.UnsatisfiedLinkError: libnetcdf.so: cannot open shared object file: No such file or directory
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191)
… 14 more
Suppressed: java.lang.UnsatisfiedLinkError: libnetcdf.so: cannot open shared object file: No such file or directory
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204)
… 14 more
Suppressed: java.io.IOException: Native library (linux-x86-64/libnetcdf.so) not found in resource path (./lib/snap-virtual-file-system-ui-8.0.0.jar:./lib/thumbnailator-0.4.5.jar:./lib/guava-24.1.1-jre.jar:./lib/GeographicLib-Java-1.49.jar:./lib/snap-virtual-file-system-8.0.0.jar:./lib/gt-geotiff-20.0.jar:./lib/imageio-ext-streams-1.3.3.2-SNAP.jar:./lib/jai_imageio-1.1.jar:./lib/javahelp-2.0.05.jar:./lib/snap-python-8.0.0.jar:./lib/org-openide-windows-RELEASE82.jar:./lib/jsoup-1.11.3.jar:./lib/jaxb-api-2.4.0-b180830.0359.jar:./lib/gt-referencing-20.0.jar:./lib/snap-tango-8.0.0.jar:./lib/uom-se-1.0.8.jar:./lib/gt-api-20.0.jar:./lib/org-netbeans-api-intent-RELEASE82.jar:./lib/doc-windows-1.0.jar:./lib/jt-colorindexer-1.1.1.jar:./lib/jt-crop-1.1.1.jar:./lib/jna-platform-5.5.0.jar:./lib/ceres-metadata-8.0.0.jar:./lib/jt-translate-1.1.1.jar:./lib/org-netbeans-core-startup-RELEASE82.jar:./lib/tiled-editors-1.0.jar:./lib/gt-xsd-core-20.0.jar:./lib/jt-bandselect-1.1.1.jar:./lib/ceres-jai-8.0.0.jar:./lib/snap-statistics-8.0.0.jar:./lib/ceres-ui-8.0.0.jar:./lib/jt-imagefunction-1.1.1.jar:./lib/snap-netcdf-8.0.0.jar:./lib/annotations-17.0.0.jar:./lib/systems-common-java8-0.7.2.jar:./lib/org-openide-modules-RELEASE82.jar:./lib/org-netbeans-modules-javahelp-RELEASE82.jar:./lib/jpy-0.9.0.jar:./lib/jdom2-2.0.4.jar:./lib/org-openide-nodes-RELEASE82.jar:./lib/org-netbeans-api-progress-RELEASE82.jar:./lib/org-netbeans-libs-asm-RELEASE82.jar:./lib/jt-zonal-1.1.1.jar:./lib/smos-reader-5.8.0.jar:./lib/ceres-glayer-8.0.0.jar:./lib/txw2-2.4.0-b180830.0438.jar:./lib/ceres-core-8.0.0.jar:./lib/commons-cli-1.2.jar:./lib/jt-border-1.1.1.jar:./lib/uom-lib-common-1.0.2.jar:./lib/org-netbeans-modules-autoupdate-ui-RELEASE82.jar:./lib/smos-tools-5.8.0.jar:./lib/gt-xsd-gml3-20.0.jar:./lib/mlibwrapper-jai-openjdk-1.1.4.jar:./lib/commons-math3-3.2.jar:./lib/velocity-1.7.jar:./lib/error_prone_annotations-2.1.3.jar:./lib/org-netbeans-core-startup-base-RELEASE82.jar:./lib/org-openide-io-RELEASE82.jar:./lib/unit-api-1.0.jar:./lib/jt-utils-1.5.0.jar:./lib/jt-warp-1.1.1.jar:./lib/jna-5.5.0.jar:./lib/ejml-ddense-0.39.jar:./lib/jt-affine-1.1.1.jar:./lib/j2objc-annotations-1.1.jar:./lib/org-netbeans-api-templates-RELEASE82.jar:./lib/jt-mosaic-1.1.1.jar:./lib/commons-collections-3.2.2.jar:./lib/org-netbeans-modules-sendopts-RELEASE82.jar:./lib/jt-vectorbin-1.1.1.jar:./lib/jt-iterators-1.1.1.jar:./lib/org-netbeans-core-RELEASE82.jar:./lib/xpp3_min-1.1.4c.jar:./lib/jt-nullop-1.1.1.jar:./lib/jt-zonalstats-1.5.0.jar:./lib/org-openide-util-RELEASE82.jar:./lib/jt-buffer-1.1.1.jar:./lib/snap-core-8.0.0.jar:./lib/jt-rlookup-1.1.1.jar:./lib/jt-orderdither-1.1.1.jar:./lib/gt-shapefile-20.0.jar:./lib/commons-io-2.6.jar:./lib/jai-core-openjdk-1.1.4.jar:./lib/ceres-binding-8.0.0.jar:./lib/slf4j-simple-1.6.6.jar:./lib/jide-oss-3.6.1.jar:./lib/snap-ui-8.0.0.jar:./lib/org-netbeans-swing-plaf-RELEASE82.jar:./lib/jai-codec-openjdk-1.1.4.jar:./lib/commons-net-3.3.jar:./lib/si-quantity-0.7.1.jar:./lib/jt-scale-1.1.1.jar:./lib/xstream-1.4.8.jar:./lib/org-openide-dialogs-RELEASE82.jar:./lib/jt-colorconvert-1.1.1.jar:./lib/org-openide-filesystems-RELEASE82.jar:./lib/jgridshift-1.0.jar:./lib/org-openide-loaders-RELEASE82.jar:./lib/org-netbeans-modules-editor-mimelookup-RELEASE82.jar:./lib/gt-main-20.0.jar:./lib/jt-rescale-1.1.1.jar:./lib/js-1.7R1.jar:./lib/org-netbeans-spi-quicksearch-RELEASE82.jar:./lib/org-openide-filesystems-nb-RELEASE82.jar:./lib/jt-lookup-1.1.1.jar:./lib/commons-lang-2.6.jar:./lib/updater-RELEASE82.jar:./lib/jt-format-1.1.1.jar:./lib/jt-utilities-1.1.1.jar:./lib/jai-imageio-1.2-SNAP-20150402.jar:./lib/jfreechart-1.0.14.jar:./lib/jt-bandcombine-1.1.1.jar:./lib/snap-main-8.0.0.jar:./lib/org-netbeans-modules-settings-RELEASE82.jar:./lib/checker-compat-qual-2.0.0.jar:./lib/netcdfAll-5.3.1.jar:./lib/org-netbeans-modules-sampler-RELEASE82.jar:./lib/Jama-1.0.3.jar:./lib/jt-piecewise-1.1.1.jar:./lib/gt-metadata-20.0.jar:./lib/org-netbeans-modules-options-api-RELEASE82.jar:./lib/gt-wms-20.0.jar:./lib/jt-scale2-1.1.1.jar:./lib/org-netbeans-bootstrap-RELEASE82.jar:./lib/commons-codec-1.6.jar:./lib/ejml-core-0.39.jar:./lib/org-netbeans-api-progress-nb-RELEASE82.jar:./lib/org-netbeans-modules-keyring-RELEASE82.jar:./lib/smos-ee2netcdf-5.8.0.jar:./lib/snap-rcp-8.0.0.jar:./lib/commons-logging-1.1.1.jar:./lib/jdom-1.1.jar:./lib/gt-xml-20.0.jar:./lib/org-openide-actions-RELEASE82.jar:./lib/jsr305-1.3.9.jar:./lib/org-netbeans-modules-autoupdate-services-RELEASE82.jar:./lib/commons-jxpath-1.3.jar:./lib/animal-sniffer-annotations-1.14.jar:./lib/slf4j-api-1.6.6.jar:./lib/org.eclipse.emf.ecore-2.12.0.jar:./lib/hsqldb-2.4.1.jar:./lib/org-openide-awt-RELEASE82.jar:./lib/jai_codec-1.1.3.jar:./lib/imageio-ext-geocore-1.3.3.2-SNAP.jar:./lib/jt-shadedrelief-1.1.1.jar:./lib/jt-classifier-1.1.1.jar:./lib/org.eclipse.emf.common-2.12.0.jar:./lib/jcip-annotations-1.0.jar:./lib/org-netbeans-swing-outline-RELEASE82.jar:./lib/xmlpull-1.1.3.1.jar:./lib/org-openide-util-ui-RELEASE82.jar:./lib/istack-commons-runtime-3.0.7.jar:./lib/org-netbeans-api-io-RELEASE82.jar:./lib/org-openide-util-lookup-RELEASE82.jar:./lib/imageio-ext-utilities-1.3.3.2-SNAP.jar:./lib/asm-all-5.0.1.jar:./lib/picocontainer-1.2.jar:./lib/gt-xsd-gml2-20.0.jar:./lib/jaxb-runtime-2.4.0-b180830.0438.jar:./lib/snap-runtime-8.0.0.jar:./lib/snap-gpf-8.0.0.jar:./lib/org.eclipse.emf.ecore.xmi-2.12.0.jar:./lib/FastInfoset-1.2.15.jar:./lib/org-netbeans-api-annotations-common-RELEASE82.jar:./lib/stax-ex-1.8.jar:./lib/jt-errordiffusion-1.1.1.jar:./lib/org-netbeans-modules-queries-RELEASE82.jar:./lib/disruptor-1.2.13.jar:./lib/gt-render-20.0.jar:./lib/commons-pool-1.5.4.jar:./lib/jt-binarize-1.1.1.jar:./lib/gt-opengis-20.0.jar:./lib/gt-coverage-20.0.jar:./lib/jt-algebra-1.1.1.jar:./lib/joda-time-2.2.jar:./lib/swingx-all-1.6.5-1.jar:./lib/gt-cql-20.0.jar:./lib/xml-commons-resolver-1.2.jar:./lib/jts-core-1.16.0.jar:./lib/jt-bandmerge-1.1.1.jar:./lib/clibwrapper-jiio-1.2-20090918.jar:./lib/jai_core-1.1.3.jar:./lib/commons-httpclient-3.1.jar:./lib/org-openide-text-RELEASE82.jar:./lib/si-units-java8-0.7.1.jar:./lib/imageio-ext-tiff-1.3.3.2-SNAP.jar:./lib/javax.activation-api-1.2.0.jar:./lib/gt-data-20.0.jar:./lib/org.eclipse.xsd-2.12.0.jar:./lib/ceres-binio-8.0.0.jar:./lib/gt-epsg-hsql-20.0.jar:./lib/snap-binning-8.0.0.jar:./lib/beansbinding-1.2.1-RELEASE82.jar:./lib/jt-stats-1.1.1.jar:./lib/jcommon-1.0.17.jar:./lib/org-openide-explorer-RELEASE82.jar:./lib/jewelcli-0.8.5.jar:./lib/org-netbeans-swing-tabcontrol-RELEASE82.jar:./lib)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1095)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276)
… 14 more
100 [main] INFO serverStartup - Nc4Iosp: set log level: old=-1 new=0
Mar 01, 2022 11:12:55 AM org.esa.smos.ee2netcdf.NetcdfExporter exportProduct
SEVERE: Failed to convert file: /lus/h2resw01/scratch/maca/lim/lim_aa/lib/scripts/smos-ee-to-netcdf/SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip
SEVERE: org.esa.smos.ee2netcdf.NetcdfExporter: Failed to convert file: /lus/h2resw01/scratch/maca/lim/lim_aa/lib/scripts/smos-ee-to-netcdf/SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip
Mar 01, 2022 11:12:55 AM org.esa.smos.ee2netcdf.NetcdfExporter exportProduct
SEVERE: Couldn’t load NetCDF C library (see log for details).
SEVERE: org.esa.smos.ee2netcdf.NetcdfExporter: Couldn’t load NetCDF C library (see log for details).

Yes, actually the NetCDF library is included.
On which OS are you running the exporter?

Can you add -Dsnap.log.level=FINE to your command line call?

./smos-ee-to-nc.sh -Dsnap.log.level=FINE -l ALL --target-directory

Then more should be locked. Can you attach the log output as file?

Thanks

Thanks for your reply.
The version I have does not seem to support the -D argument.
This is version 5.8.0.
I tried downloading another version which reported it was version 1.0.

Ah, my fault. Sorry.
You need to add the -D parameter to the sh file.

Change line 15 to:
export JAVA_OPTS="-Xmx2048M -Dsnap.log.level=FINE"

Hi Thanks,

Not been here for a few days so now back.

maca@aa6-100 [2022-03-07 11:57:25] /ec/res4/scratch/maca/lim/lim_aa/lib/scripts/smos-ee-to-netcdf $> ./smos-ee-to-nc.sh --target_directory ./ SM_OPER_MIR_SMUDP2_20220226T003705_20220226T013024_700_001_1.zip 
Invalid maximum heap size: -Xmx2048M -Dsnap.log.level=FINE
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
maca@aa6-100 [2022-03-07 11:57:28] /ec/res4/scratch/maca/lim/lim_aa/lib/scripts/smos-ee-to-netcdf $> 

It doesnt seem to like adding the -D argument.
I tried it a few different ways and it doesnt work, sometimes ignoring the target_directory even.