[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netCDF Fortran (77 + 90) - Using F90 interface to read character variables ...



"Kevin Doty" <address@hidden> writes:

> Institution: University of Alabama at Huntsville
> Package Version: 3.6.0-p1
> Operating System: Red Hat v 9, Portland compiler version 5.2-2
> Hardware Information: Linux cluster
> Inquiry: Dear Colleague:
>
> I am trying read netcdf files from the WRF model using the netcdf F90 
> interface.  The first attachment is a Word document of some of the F90 code I 
> am using, and the second attachment is a log file of some of my results 
> including the relevant error message.  In short, my problem is trying to read 
> the character string variable Time.  No matter what I have tried I either get 
> the Edge+start exceeds dimension bound error or if I try to include count = 
> (/ 19,1 /) in the argument list of the nf90_get_var command I get the 
> following Portland compile error:
>
> PGF90-S-0155-Could not resolve generic procedure nf90_get_var
>
> The dimensions I get from the nf90_inquire_dimension command indicate that 
> this variable should be dimensioned as a (19,1) character array and that (I 
> think!) is what I have done.  As I have stripped code from the first 
> attachment for simplicity, I should mention that I was able to retrieve all 
> of the global attribute information and dimension information correctly.  The 
> utility ncdump seems to be able to process the entire file as well 
> successfully.  Any ideas or suggestions would be greatly appreciated.
>
> Sincerely,
> Kevin Doty
>

Howdy Kevin!

How are you doing these days? How's Dr. Perkey? Tell him I said howdy!

Try decreasing your edge and see if hat makes the "edge+start exceeds
dimension bound" problem go away.

Unfortunately I don't usually work in F90, so I'm not too familiar
with it. 

Can you send me the data file in question? (Or leave it out somewhere
on an ftp site?)

Thanks!

Ed


-- 
Ed Hartnett  -- address@hidden