You say NetcdfWriter, but I assume you mean NetcdfFileWriter?
also
> Is there a reason that all of the Native C functions aren't included 
in Nc4prototypes?
Mostly historical.
also
>... it would be nice to have the option of calling any of those 
functions directory from Java.
You have to be careful. If you call the prototypes directly, then this 
may introduce
mismatches with the Java interface, which means mixing prototype calls 
and netcdf-java api
calls can cause problems.
=Dennis Heimbigner
 Unidata
On 3/6/2018 2:37 PM, Carlow, Christian R wrote:
I gave up trying to use the netcdf-java library classes such as 
NetcdfWriter because it kept truncating the value when they exceeded a 
particular length.
So I decided the easiest way to update attribute values was to just 
call the Native C functions from java since I already successfully 
tested the functions from a C application. However, Nc4prototypes is 
missing some of the Native C functions such as nc_redef, and nc_inq_varid.
Is there a reason that all of the Native C functions aren't included 
in Nc4prototypes?  Since netcdf-java seems less powerful than those 
underlying commands it would be nice to have the option of calling any 
of those functions directory from Java.
I've already created my own copy of Nc4prototypes to include any 
missing functions but it would be nice if they were just all available 
out-of-the-box when downloaded.
_______________________________________________
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: 
http://www.unidata.ucar.edu/mailing_lists/