Suppose a thermally insulated container is filled with atmospheric air until the pressure reaches 5000 psi. This could represent the filling of a diving cylinder, before thermal dissipation becomes significant.
Initially, then, some mass of air has atmospheric temperature $T_1$ and $p_1$. When forced in to the tank adiabatically, we expect its final temperature to be
\begin{align} T_2 &= T_1\left(\frac{p_2}{p_1}\right)^{1-1/\gamma} \\ &= (300\,\mathrm{K})\left(\frac{5000\,\mathrm{psi}}{14.5\,\mathrm{psi}}\right)^{1-1/1.4} \\ &\approx 1590\,\mathrm{K} \end{align}
This final temperature seems far too hot. A diving cylinder would likely melt at this temperature.
More likely, though, something is wrong with my reasoning. Is this not the correct use of the temperature-pressure relations, assuming an ideal gas? If not, what other information is needed to predict the final temperature of the container?