[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #QWQ-242371]: BUG(?): data type SHORT not a 2-byte integer type ?



Hi Patrick,

Thanks for letting us know that you found the answer in our archive of
past support responses.  I had actually forgotten the answer and was
ready to tackle it, but your email saved us time of rediscovering this
format idiosyncrasy :-).

--Russ

> thank you for giving a ticket and for the links where I found a previous 
> posting related to my question at
> ===============================================================================
> [netCDF #AMR-714212]: netcdf file size for limited vs unlimited  (24 Mar 2010)
> -------------------------------------------------------------------------------
> -->  
> http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg09067.html
> ===============================================================================
> Thread Subject: netcdf file size for limited vs unlimited dimension  (24 Mar, 
> 2010)
> -------------------------------------------------------------------------------
> -->  http://www.mathworks.ch/matlabcentral/newsreader/view_thread/277391
> ===============================================================================
> providing valuable information - and the answer / explanation to my question:
> 
> ..the behaviour described below (of getting different files when using type 
> SHORT)  is related to the NetCDF library iteself and it is intentionally - 
> but it can be solved by the work-around of changing in the CDF text file 
> (with 2-variables)  the 'time'-dimension from UNLIMITED to the actual number 
> of time steps (i.e. actual number of records in NetCDF terminology (?)) 
> before transforming to binary format via ncgen.
> 
> I think the work-around will fix the source of my problem which came up when 
> using the utility 'ncpdq' of the NCO package (NetCDF Operators) for the 
> "FLOAT-to-SHORT"-compression (or more precise: data type conversion / 
> transformation) of NetCDF data files using floating point types FLOAT or 
> DOUBLE.
> (NCO home page:<http://nco.sourceforge.net/>)
> 
> Best regards,
> 
> Patrick Rix.
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Unidata netCDF Support [mailto:address@hidden]
> Gesendet: Donnerstag, 12. August 2010 02:18
> An: Rix, Patrick
> Betreff: [netCDF #QWQ-242371]: BUG(?): data type SHORT not a 2-byte integer 
> type ?
> 
> 
> Rix, Patrick,
> 
> Your Ticket has been received, and a Unidata staff member will review it and 
> reply accordingly. Listed below are details of this new Ticket. Please make 
> sure the Ticket ID remains in the Subject: line on all correspondence related 
> to this Ticket.
> 
> Ticket ID: QWQ-242371
> Subject: BUG(?): data type SHORT not a 2-byte integer type ?
> Department: Support netCDF
> Priority: Normal
> Status: Open
> 
> 
> 
> The NetCDF libraries are developed at the Unidata Program Center/UCAR,
> in Boulder, Colorado; we are funded primarily by the U.S. National
> Science Foundation.
> 
> All support requests are handled by the development team; no
> dedicated support staff are funded at this time. For this reason
> we cannot guarantee response times, nor can we resolve every support
> issue, although we do our best to respond within 72 hours.
> 
> It is in the nature of support requests that the same question is
> asked many times. We urge you to search the support archives for
> material relating to your support inquiry:
> 
> http://www.unidata.ucar.edu/search.jsp?support&netcdf
> 
> If you are having trouble building netCDF, please take a look at the
> "Build Troubleshooter" section of the netCDF home page:
> 
> http://www.unidata.ucar.edu/software/netcdf/
> 
> Windows users should see the FAQ list:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4
> 
> Complete documentation (including a tutorial, and sample programs in
> C, Fortran, Java, and other programming languages) can be found on the
> netCDF Documentation page:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/
> 
> If you resolve your issue through one of these methods, please send a
> reply to this email letting us know that you no longer require
> assistance. This will help us spend more time on netCDF development.
> 
> Best regards,
> 
> Unidata User Support
> 
> 
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte umgehend den Absender und 
> löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe der in dieser E-Mail enthaltenen Daten ist nicht gestattet. Wie 
> Sie wissen, kann die Sicherheit von Übermittlungen per E-Mail nicht 
> gewährleistet werden, E-Mails können missbräuchlich unter fremdem Namen 
> erstellt oder verändert werden. Aus diesem Grund bitten wir um Verständnis 
> dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit 
> der vorstehenden Erklärungen ausschließen müssen. Diese Regelung gilt nur 
> dann nicht, wenn wir mit Ihnen eine anderweitige schriftliche Vereinbarung 
> über die Einhaltung von Sicherheits- und Verschlüsselungsstandards getroffen 
> haben.
> This e-mail contains confidential and/or privileged information. If you are 
> not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and delete this e-mail. Any unauthorised 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden. As you know, the security of e-mail transmissions can not 
> be guaranteed. E-mails can be misused to be written or modified under false 
> names. For that reason, we ask you to understand the necessity for us to rule 
> out the legal obligation of the above statement, for your protection and 
> ours. This regulation is only invalid if we have concluded a special written 
> agreement with you about the compliance with security and encryption 
> standards.
> REpower Systems AG Sitz: Hamburg Vorstand: Andreas Nauen (Vorsitz), Per 
> Hornung Pedersen, Lars Rytter Kristensen, Derrick Noe, Matthias Schubert
> Aufsichtsratsvorsitzender: Tulsi Tanti Registergericht: AG Hamburg (Mitte) 
> HRB Nr.: 75543
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: QWQ-242371
Department: Support netCDF
Priority: Normal
Status: Closed