[ARPSSUPPORT] NETCDF
Yunheng Wang
ywang at gcn.ou.edu
Thu Sep 17 11:57:25 CDT 2009
Marwan,
FYI, IDV only supports ARPS data set in Lambert map projection. Your
data set, although good, does not contain a map project. So it is not
supported in IDV.
Yunheng.
----- Original Message -----
*From:* Marwan Katurji <mka94 at student.canterbury.ac.nz>
*To:* "Kevin W. Thomas" <kwthomas at wizard.caps.ou.edu>,
arpssupport at caps.ou.edu
*Sent:* 09/16/2009 4:43:51 PM -0500
*Subject:* [ARPSSUPPORT] NETCDF
> Hi Kevin,
>
> This is quite strange. First of all when I dump arps output in netcdf
> dump option 8 I get one file called may20.nc, there are no two files
> like you mentioned. But when I use the option 7 , which gives separate
> output for every dump step, I get *.netgrdbas, *net000000, and the
> consequent dump times that is normal.
>
> I've downloaded the latest version of idv2.8a1 and still it won't
> recognize the netcdf file as gridded data set. I've sent them a
> support request so maybe they have an answer. But in the meantime I've
> attached a *.nc file from a sample simulation, it should contain the
> grdbas values and a 1 minute sample time output from the may20 demo
> simulation. I plotted this file in arpspltpost and it was fine, I've
> seen the 1 minute result, so I presume it is an Ok netcdf file. By the
> way I used the same file as the grdbas file and history file in my
> arpsltpost namelist file. Can you please check the file from your side
> and see if it is a valid nc file before I continue, maybe if you can
> plot it with idv and check, that will be very appreciated.
>
> Thanks
> Marwan
>
> Marwan Katurji
>
> PhD Candidate
> Center for Atmospheric Research
> Department of Geography, 3rd floor
> University of Canterbury
> Private Bag 4800
> Christchurch 8140, New Zealand
> -----------------
> Work: +64 3 364 2987 ext: 3088
> Mobile:+64 212 049534
> Fax: +64 3 364 2907
>
> Email: marwan.houda at gmail.com
> mka94 at student.canterbury.ac.nz
>
>
>
> Kevin W. Thomas wrote:
>>> Hi Kevin,
>>>
>>> Thanks for the previous help on compiling with hdfnet. I've disabled
>>> the netcdf in hdf4 configure but now I am having another issue and I
>>> don't know if it is related to that or not.
>>> To start with I've compiled and tried successfully arps and arpscvt
>>> with hdf and netcdf. Also the arpscvt can covert back and forth
>>> and for the netcdf options 7 and 8. I also dumped the data with
>>> ncdump and no problem, also plotted with arpspltpost and everything
>>> looks ok with both hdf and netcdf. The problem arises when I try to
>>> view the single *.nc file with a netcdf browser like Panoply or IDV,
>>> both do not recognize the *.nc file as plotable data. That is quite
>>> strange given that the same programs can view WRF netcdf files.
>>> By the way, I also tried compiling and running arps with only netcdf
>>> option (-io net) but had the same problem with the one with (-io
>>> hdfnet).
>>> I don't know if you can help me on this one but any hint will let me
>>> started on finding the problem.
>>>
>>> Thanks
>>> Marwan
>>>
>>> Marwan Katurji
>>>
>>> PhD Candidate
>>> Center for Atmospheric Research
>>> Department of Geography, 3rd floor
>>> University of Canterbury
>>> Private Bag 4800
>>> Christchurch 8140, New Zealand
>>> -----------------
>>> Work: +64 3 364 2987 ext: 3088
>>> Mobile:+64 212 049534
>>> Fax: +64 3 364 2907
>>>
>>> Email: marwan.houda at gmail.com
>>> mka94 at student.canterbury.ac.nz
>>>
>>
>> Marwan...
>>
>> The only issue I know about is that netCDF files >2gb must be written as
>> 64-bit files, not 32-bit files. That should be the default. Since
>> you can
>> plot them with "arpspltpost", they are likely okay.
>>
>> I know that ARPS history files are fully supported in IDV. I've not
>> heard of
>> "Panoply", so I wouldn't know about that. You just have to remember
>> that the
>> ARPS software will give you 2 netCDF files to describe a data set,
>> not one
>> like WRF does. Look for a way of displaying ARPS files in IDV. I've
>> not used
>> it myself in a very long time, so I can't tell you the "magic".
>>
>> == kwthomas ==
>>
>>
>>> Kevin W. Thomas wrote:
>>>
>>>>> Hi there,
>>>>>
>>>>> I am trying to compile arpscvt with hdfnet, already installed
>>>>> netcdf version 4.0.1 and hdf version 4.2 r4. I've compiled
>>>>> successfully with each library individually (-io net and -io hdf)
>>>>> but when I use hdfnet I get the following error, something related
>>>>> to multiple definition. I am also aware to the fact that I have
>>>>> to edit mfhdf/libsrc/hdf2netcdf.h in the hdf source code and add
>>>>> this line at the top: #define HAVE_NETCDF. But that did not work.
>>>>> I don;t know if that is related to this problem or not.
>>>>> Your help is highly appreciated
>>>>>
>>>>> Thanks
>>>>> --
>>>>> Marwan Katurji
>>>>>
>>>>> PhD Candidate
>>>>> Center for Atmospheric Research
>>>>> Department of Geography, 3rd floor
>>>>> University of Canterbury
>>>>> Private Bag 4800
>>>>> Christchurch 8140, New Zealand
>>>>> -----------------
>>>>> Work: +64 3 364 2987 ext: 3088
>>>>> Mobile:+64 212 049534
>>>>> Fax: +64 3 364 2907
>>>>>
>>>>> Email: marwan.houda at gmail.com
>>>>> mka94 at student.canterbury.ac.nz
>>>>>
>>>> Hi Marwan...
>>>>
>>>> For more recent versions of HDF4, you need to use:
>>>>
>>>> configure --disable-netcdf
>>>>
>>>> instead of editing "hdf2netcdf.h".
>>>>
>>>> Kevin W. Thomas
>>>> Center for Analysis and Prediction of Storms
>>>> University of Oklahoma
>>>> Norman, Oklahoma
>>>> Email: kwthomas at ou.edu
>>>>
>>>>
>>> _______________________________________________
>>> ARPSSUPPORT mailing list
>>> ARPSSUPPORT at caps.ou.edu
>>> http://www.caps.ou.edu/mailman/listinfo/arpssupport
>>>
>>>
>>
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ARPSSUPPORT mailing list
> ARPSSUPPORT at caps.ou.edu
> http://www.caps.ou.edu/mailman/listinfo/arpssupport
More information about the ARPSSUPPORT
mailing list