alex-robinson / ncio

Simple Fortran interface to NetCDF reading and writing.
23 stars 9 forks source link

Is there any subroutine to read variables of a Group #10

Closed sxcgc closed 4 years ago

sxcgc commented 4 years ago

This project is a very useful tools. But when I read a variable of a Group, I write like "nc_ndims(filename,"/G1/Longitude")", program will raise a error "ncio:: error: NetCDF: Variable not found".So what should I do to read variables of Group? thanks

alex-robinson commented 4 years ago

Unfortunately we didn’t get as far as including specific treatment for group variables. I cannot say to what extent the code can handle such cases.