code: def make_size_filter(max_size):
      """Generate a nodefilter function to download only files below the specified maximum size.
  
      .. versionadded:: 0.15
      """
  
      def node_filter(node_info):
          return node_info["size"] <= max_size
  
      return node_filter
  
file_path: sentinelsat/sentinelsat/products.py
imports: import fnmatch
  import warnings
  from sentinelsat.sentinel import SentinelAPI
label_desc: Use image node_id 1 for calling a global function with example usage: make_size_filter(max_size) and returns: node_filter, unknown