Fresno Yosemite International Airport: The practical gateway for flyers. It is roughly 35–45 miles north of Hanford; rent a car for a 45–60 minute drive, depending on Highway 99 traffic. Rideshare is possible but can be thin for the return and commonly costs far more than a rental for a multi-day stay; there is no airport-to-Hanford rail or frequent, simple public-transit transfer worth recommending.
Hanford Amtrak Station: Use Amtrak’s San Joaquins service (the evidence’s “Gold Runner” name is branding rather than the train name) for arrivals from the Bakersfield/Fresno–Central Valley corridor. The station is close enough to central Hanford that a short rideshare, taxi, or walk with light luggage works; allow about 5–10 minutes to downtown. Fares vary heavily by origin and departure, so book Amtrak rather than relying on an assumed walk-up price.