Question for Instructors/DMs: I've never gone on a week long diving trip. I know you wait a minimum 12 hours before flying back. The place has shore diving. Is it safe enough to do a couple of shore dives to 30-40 feet the afternoon of the last day? Or is it best to do none at all? I figure the first few days will be all the deep boat dives. Maybe do the shallow shore dives 2 days before leaving and none the day before to be sure? Thanks.
I believe the current recommendation is as follows:
For a single no-decompression dive, wait at least 12 hours before flying.
For multiple dives per day or multiple days of diving, wait at least 18 hours before flying.
For dives requiring decompression stops, wait a lot longer than 18 hours

(there is no "official" recommendation on number of hours after a deco dive that I'm aware of, other than wait >18 hours )
I believe many current recreational dive computers will list the "Time To Fly" countdown as 24 hours after surfacing from the last dive.
Be conservative.
I'd personally wait at least 24 hours before flying after doing multi-day diving, unless there was a
very urgent reason to leave sooner (in which case I'd just skip the dive). If there was a reason to leave before 24 hours had passed, I'd use the USN "Required Surface Interval Before Ascent to Altitude After Diving Table, (you also need to use USN dive tables, not PADI RDP, to get the correct Group Designation).
However, when I look at what the USN Ascent to Altitude table allows for 8,000 feet (cabin pressure), it is actually pretty similar to DAN's recommendation. Take a "typical" AL80, single tank, within-NDL reef dive: Example, a single "square profile" 60 feet, 40 minute dive would call for a 12:05 surface interval before flying using the USN tables... so really the DAN recommendation of at least a 12 hour wait after a single dive is actually not all
that conservative.... so unless you do a very
shallow single dive, I'd think hard about jumping on an airliner the same day....