VariableInformationApi

All URIs are relative to http://localhost:50051

MethodHTTP requestDescription
getvargridGET /getvargrid/{name}
getvaritemsizeGET /getvaritemsize/{name}
getvarlocationGET /getvarlocation/{name}
getvarnbytesGET /getvarnbytes/{name}
getvartypeGET /getvartype/{name}
getvarunitsGET /getvarunits/{name}

getvargrid

getvargrid(req::HTTP.Request, name::String;) -> Int64

Each input and output variable is defined on a grid. This function returns the grid identifier for a given variable.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

Int64

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getvaritemsize

getvaritemsize(req::HTTP.Request, name::String;) -> Int64

Provides the size, in bytes, of a single element of the variable.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

Int64

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getvarlocation

getvarlocation(req::HTTP.Request, name::String;) -> GetVarLocationResponseLocation

Indicates on what grid element the variable is defined.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

GetVarLocationResponseLocation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getvarnbytes

getvarnbytes(req::HTTP.Request, name::String;) -> Int64

Provides the total amount of memory used to store a variable; i.e., the number of items multiplied by the size of each item.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

Int64

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getvartype

getvartype(req::HTTP.Request, name::String;) -> GetVarTypeResponse

Provides the data type of the variable.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

GetVarTypeResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getvarunits

getvarunits(req::HTTP.Request, name::String;) -> GetVarUnitsResponse

Get the units of the given variable.

Required Parameters

NameTypeDescriptionNotes
reqHTTP.RequestThe HTTP Request object
nameString[default to nothing]

Return type

GetVarUnitsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]