comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ncdf global attribute exists function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ncdf global attribute exists function [message #93957] Wed, 07 December 2016 04:46 Go to previous message
Mark Shephard is currently offline  Mark Shephard
Messages: 13
Registered: July 1999
Junior Member
Hi,

I have looked through all the IDL documentation in regards to ncdf, but cannot seem to find a nice solution. I was wondering if anyone had a simple function to check if a global attribute exists in an netCDF file.

I can use the ncdf_get to get all the global attributes (gatt) and then check the hash to see if the key exists, but this seems to have a lot of overhead. I was looking for something similar to the cdf_attexists(id, attribute_name) procedure, but for ncdf that works on global attributes.

Thanks,
Mark
[Message index]
 
Read Message
Read Message
Previous Topic: Newbie questions
Next Topic: Fitting plasma waveforms with 10^6 variable combos!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:32:03 PDT 2025

Total time taken to generate the page: 0.00462 seconds