Re: [netcdf-java] Java-netcdf version of ncdump??

Hi, Nathan,

Yes!

The documentation for NetCDF-Java's CDM utility programs can be found here:

https://docs.unidata.ucar.edu/netcdf-java/current/userguide/cdm_utility_programs.html#ncdump

though with a different set of command options woth respect to the ncdump


You can follow the instructions provided there or install NetCDF-Java directly from conda-forge:
conda install -c conda-forge netcdf-java

The CDM utility programs will then be available with the ncj- prefix:

ncj-bufrspliter     ncj-cfpointwriter   ncj-gribcdmindex ncj-nccopy          ncj-toolsui
ncj-catalogcrawler  ncj-featurescan     ncj-nccompare ncj-ncdump

and for your example, you can use:

ncj-ncdump -cdl "http://test.opendap.org:8080/opendap/data/nc/coads_climatology.nc";

Any feedback on the conda recipe is more than welcome!

https://github.com/conda-forge/netcdf-java-feedstock

Best regards,
Antonio


On 7/11/24 2:05, Nathan Potter wrote:
Greetings,

I am wondering:

Does the netcdf-java library contain a java version of our old friend ncdump 
that can be used to test the client parts of the java-netcdf library.

For example:

ncdump -hhttp://test.opendap.org:8080/opendap/data/nc/coads_climatology.nc
ncdump -h dap4://test.opendap.org:8080/opendap/data/nc/coads_climatology.nc

Does a Java version exist?

Thanks,

Nathan


= = =
Nathan Potter                        ndp at opendap.org
OPeNDAP, Inc.                        +1.541.231.3317






_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, 
visit:https://www.unidata.ucar.edu/mailing_lists/  
  • 2024 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: