  Context: Effective temperature, surface gravity, and metallicity are basic
spectroscopic stellar parameters necessary to characterize a star or a
planetary system. Reliable atmospheric parameters for FGK stars have been
obtained mostly from methods that relay on high resolution and high
signal-to-noise optical spectroscopy. The advent of a new generation of high
resolution near-IR spectrographs opens the possibility of using classic
spectroscopic methods with high resolution and high signal-to-noise in the NIR
spectral window. Aims: We aim to compile a new iron line list in the NIR from a
solar spectrum to derive precise stellar atmospheric parameters, comparable to
the ones already obtained from high resolution optical spectra. The spectral
range covers 10 000 {\AA} to 25 000 {\AA}, which is equivalent to the Y, J, H,
and K bands. Methods: Our spectroscopic analysis is based on the iron
excitation and ionization balance done in LTE. We use a high resolution and
high signal-to-noise ratio spectrum of the Sun from the Kitt Peak telescope as
a starting point to compile the iron line list. The oscillator strengths (log
gf) of the iron lines were calibrated for the Sun. The abundance analysis was
done using the MOOG code after measuring equivalent widths of 357 solar iron
lines. Results: We successfully derived stellar atmospheric parameters for the
Sun. Furthermore, we analysed HD20010, a F8IV star, from which we derived
stellar atmospheric parameters using the same line list as for the Sun. The
spectrum was obtained from the CRIRES- POP database. The results are compatible
with the ones found in the literature, confirming the reliability of our line
list. However, due to the quality of the data we obtain large errors.
