code: def apply_sun_presets(args, weather):
      """Uses sun presets to set the sun position"""
      if args.sun is not None:
          if args.sun in SUN_PRESETS:
              weather.sun_altitude_angle = SUN_PRESETS[args.sun][0]
              weather.sun_azimuth_angle = SUN_PRESETS[args.sun][1]
          else:
              print(
                  "[ERROR]: Command [--sun | -s] '"
                  + args.sun
                  + "' not known"
              )
              sys.exit(1)
  
file_path: carla/PythonAPI/util/environment.py
imports: import glob
  import os
  import sys
  import argparse
  import carla
label_desc: Use image node_id 1 for calling a global function with example usage: apply_sun_presets(args, weather) without return types