NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] NetCDF-Java CF compliance

  • To: Jacobs Tim <tim.jacobs@xxxxxxx>
  • Subject: Re: [netcdf-java] NetCDF-Java CF compliance
  • From: Sean Arms <sarms@xxxxxxxx>
  • Date: Wed, 25 Nov 2015 10:38:23 -0700
Greeings Tim,

Good question. Typically users have a issues with netcdf-java and unsigned
ints, as Java does not have an unsigned int primitive type. However,
netcdf-java fully supports signed ints. For a list of supported datatypes,
checkout:

http://www.unidata.ucar.edu/software/thredds/v4.6/netcdf-java/CDM/DataType.html

It looks like the latest version of panoply is using the latest release of
netcdf-java (v4.6.3), so I do not see anything on the netcdf-java side that
could be an issue. netCDF-3 only uses signed types, so one quick way to
check panoply is to open a netcdf-3 from from a different dataset or source
and see if you can view any int fields.

I'd be more than happy to take a look at your specific file to see if
anything jumps out to me on the netcdf-java side.

Cheers,

Sean

On Wed, Nov 25, 2015 at 1:18 AM, Jacobs Tim <tim.jacobs@xxxxxxx> wrote:

> Dear Unidata colleagues,
>
>
>
> CF conventions are more restrictive than NetCDF regarding
>
> the data type used for the variables. CF for instance requires the use
>
> of signed integers. However, NASA’s Panoply, that uses NetCDF-java,
>
> cannot display variables with signed integer datatype, whereas changing
>
> to unsigned equivalent works fine.
>
> Can NetCDF be updated to accommodate also signed integers?
>
> Or is the problem in Panoply’s own code?
>
>
>
> Best regards,
>
> Tim Jacobs
>
>
>
> Remote Sensing Dept.
>
> VITO NV
>
> Boeretang 200
>
> 2400 Mol
>
> Belgium
>
> Tel: +32 14 336710
>
> Skype: jacobs.timmeke
>
>
> VITO Disclaimer: http://www.vito.be/e-maildisclaimer
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: