searchData finds the all datasets that contain the supplied string in the given dataset field

searchData(searchList = list(list("varname", "chl")))

Arguments

searchList

- A list of lists each list will contain the field to search and the search string

Value

dataframe with any matching information

Details

searchData will search for the given string in any of the fields dtypename,datasetname,longname,varname. Over the list of searches provided, the search sequentially refines the search result based on the next list in the list of lists.

It will return the following information about any dataset that matches the string:

  • dtypename

  • datasetname

  • longname

  • varname

  • hasAlt

  • latSouth

  • lon360

  • minLongitude

  • maxLongitude

  • longitudeSpacing

  • minLatitude

  • maxLatitude

  • latitudeSpacing

  • minAltitude

  • maxAltitude

  • minTime

  • maxTime

  • timeSpacing

  • infoUrl

Examples

list1 <- 'varname:x_wind' list2 <- 'datasetname:8day' mylist <- c(list1, list2) searchResult <- searchData(mylist)