Subroutine ANVarOpen

subroutine ANVarOpen

        ! Uses
    use dc_types, only: string
    use an_types
    use an_vartable, only: vtable_add
    use an_file
    use dc_url
    use dc_error
    use dc_trace, only: beginsub, endsub
    use netcdf_f77

        ! Calls
    call ANFileOpen
    call StoreError
    call UrlSplit
    call beginsub
    call endsub

        ! Variables
    type (AN_VARIABLE), intent(out) :: var
    character (len=string), intent(in) :: url
    logical, optional, intent(in) :: writable
    logical, optional, intent(out) :: err
    character (len=string) :: filename
    character (len=string) :: varname
    character (len=NF_MAX_NAME) :: dimname
    integer :: stat
    integer :: nvars
    integer :: i
    type (an_variable_search) :: e

end subroutine ANVarOpen

Description of Variables

var

type (AN_VARIABLE), intent(out) :: var

url

character (len=string), intent(in) :: url

writable

logical, optional, intent(in) :: writable

err

logical, optional, intent(out) :: err

filename

character (len=string) :: filename

varname

character (len=string) :: varname

dimname

character (len=NF_MAX_NAME) :: dimname

stat

integer :: stat

nvars

integer :: nvars

i

integer :: i

e

type (an_variable_search) :: e