 |
Caro-COOPS.org Discussion Board Discussion area for Caro-COOPS-related initiatives
|
| View previous topic :: View next topic |
| Author |
Message |
jcothran
Joined: 24 Feb 2025 Posts: 176 Location: Columbia, SC
|
| Posted: Mon Apr 07, 2025 10:35 am Post subject: perl netCDF wrapper |
|
|
From Jason Thaxter of Gomoos:
I'm attaching here a perl module we use for wrapping NetCDF file manipulations. There are so many pitfalls to the base NetCDF classes - most of which result in immediate program exit - that you really want to do something like this. It's not complete by any means - I just added two fixups today, for instance - and it assumes record-oriented access, but you might find it useful.
| Description: |
|
 Download |
| Filename: |
NetCDF.pm |
| Filesize: |
11.21 KB |
| Downloaded: |
111 Time(s) |
|
|
| Back to top |
|
|
jcothran
Joined: 24 Feb 2025 Posts: 176 Location: Columbia, SC
|
| Posted: Mon Apr 07, 2025 11:18 am Post subject: response |
|
|
It looks like you need the netcdf-perl module installed for these scripts
to work. You can get it from: ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/netcdf-perl.tar.Z
Caution to those of you who know netcdf: The netcdf perl module was
written using netcdf v2, which has different syntax than netcdf v3. v3 is
backwards compatiable so there is no problems other than hunting down the
v2 man pages, which are available here: http://www.unidata.ucar.edu/packages/netcdf/guide_toc.html
Also there is no really great manual for the netcdf-perl module, so you
will need to use the above and the man page if you plan on creating new
scripts. Also there is a support mailing list available from: http://www.unidata.ucar.edu/packages/netcdf-perl/
which seems to be pretty current. If you want to spend some time looking,
you can find some scripts in google by searching using function names as
your search terms.
Have Fun!
Tom
|
|
| Back to top |
|
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB 2.0.4 © 2001, 2002 phpBB Group
|