[netcdfgroup] [netCDF #KJX-899747]: Ragged Arrays in Fortran and netcdf4

> Hi All:
> 
> I am working on creating a netcdf4 file with the structure we are
> trying to achieve.  I have a file with Box10 groups and B0x2
> subgroups, works great.  Now I am trying to do ragged arrays.  Below
> is the only fortran example I can find that does ragged arrays.  It
> is only writing one,1-dimensional array, so I am unsure what I do
> when I am writing an N-dimensional ragged array.   Do I just write
> each "column" in a loop - if so how does it know that it is writing
> to the same structure?  Or if I can do multiple "columns" at once,
> how do I set that up.  More realistic examples would be very helpful,
> including an example that writes an N-dimensional ragged array, and
> an example that adds one more column to an existing ragged array.
> Even just the fortran equivalent of the program tst_vl.c would be
> very helpful
> 
> It is clear how to do it in C (I set up an array of structures of the
> given form), but not in either version of FORTRAN.
> 
> Thanks,
> 
> -Roy
> 

Hmmm, that's a bit of a stumper, really.

Can you tell me how you are storing these in fortran? You have an array of what?

Thanks,

Ed

Ticket Details
===================
Ticket ID: KJX-899747
Department: Support netCDF
Priority: Normal
Status: Open



  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: