In a move that stretches the bounds of good taste, an NBC drama will air a fictionalized, ripped-from-the-headlines plot line inspired by the Ghost Ship tragedy in Oakland.

On March 1, producer Dick Wolf’s series “Chicago Fire” plans to air an episode called “Deathtrap,” which carries the following log line:

Truck and squad are called to aid in a massive all-city response when an old, ill-equipped factory-turned live/work space quickly turns into a firestorm, trapping countless unsuspecting victims. The dire situation quickly turns personal when it is discovered that one of Chicago PD’s own has a family member at the scene. With the rescued victims in need of serious medical attention, the doctors and nurses of Chicago Med are tested as the major influx of patients are brought through their doors. Meanwhile, in the aftermath, the building owner steps forward to cooperate with the ongoing investigation, but the situation takes a sudden and unexpected turn.

The episode will air just three months after the deadliest fire in Oakland history killed 36 people attending a concert at the Ghost Ship warehouse. And even more disturbing than the log line is the casting call — with the words “Ghost Ship” — that went out to potential extras in Chicago for the location shoot:

“GHOST SHIP” — Seeking Men & Women 20s-30s to play rave party goers. Types can range from edgy/artsy to bohemian *DISCLAIMER* This is A VERY ACTIVE SCENE that entails running and screaming as party goers try to escape a warehouse fire. THIS WILL BE USED AS SURVEILLANCE VIDEO FOOTAGE in the episode. Please do not submit if you are not comfortable with the level of physicality or any other aspect of the scenario. This is a double duty shoot, where you will work in the memoriam scene first and then move on the the party/fire scene.There MAY be use of a light smoke/fog effect in the fire scene, so let us know if you are not comfortable with that.

Of course, Wolf’s shows, including his “Law & Order” franchise, have been doing the ripped-from-the-headline thing for years. It’s standard operating procedure: They take a newsy topical story, change a few details, and then off they go. “Law & Order: SVU,” for example, did a take on the San Bernardino attack last year.

But television has also attempted to err on the side of caution at times. A recent example of this is the drama “Shooter,” from USA, which like NBC, is part of the Universal family. “Shooter,” a series about an expert sniper, was originally scheduled to begin airing last July. But it was postponed until Nov. 15 after deadly shooting attacks on police in Dallas and Baton Rogue on July 19 and 26.

The “Deathtrap” episode feels too close to home and way too soon. Does anyone — especially friends and family of Ghost Ship victims — really want to watch “screaming party goers” trying to escape a raging fire?

Bad move, NBC.