- To: netcdfgroup <netcdfgroup@xxxxxxxxxxxxxxxx>
- Subject: [netcdfgroup] unsigned 2-byte integer in fortran
- From: "M.Mahakur" <mmahakur@xxxxxxxxxxxxxx>
- Date: Thu, 11 Oct 2018 13:48:56 +0530 (IST)
Hi, I have few variables as "ushort data1(dim1,dim2,dim3)" which I wish to read using fortran API as I am not good with C/C++. Can you please suggest how do I proceed and declare in fortran code data1. I felt there I can not use something like "unsigned (kind=2), allocatable, dimension(:,:,;) :: data1". How do I declare/syntax for 2-bytes unsigned integer? With Thanks and Regards, Mahakur IITM, Pune
- Follow-Ups:
- Re: [netcdfgroup] unsigned 2-byte integer in fortran
- From: Dave Allured - NOAA Affiliate
- Re: [netcdfgroup] unsigned 2-byte integer in fortran