<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Load the default setting. This setting is identical to Example 6 except that this setting adds a filter in order to remove the error message.
Step1:  Compare the results between standard AM1.5d and the SMARTS-generated spectrum
<ASSISTANT_TASK:>
Python Code:
file = build_smarts_file(
    **astmg_173_03_m 
)   
data = send_to_smarts(file)
plt.plot(data.iloc[:,0],data.iloc[:,1],hold=True)
plt.plot(data.iloc[:,0],data.iloc[:,4])
plt.show()
data.columns
Explanation: Load the default setting. This setting is identical to Example 6 except that this setting adds a filter in order to remove the error message.
End of explanation
ill=Illumination("AM1.5d")
x,y=ill.get_spectrum("nm")
plt.plot(x,y,hold=True,label="AM1.5d")
plt.plot(data['WVLGTH'],data['BEAM_NORM+'],hold=True,label="SMART")
ill_g=Illumination("AM1.5g")
x,y=ill_g.get_spectrum("nm")
plt.plot(x,y,hold=True,label="AM1.5g")
plt.plot(data['WVLGTH'],data['GLOBL_TILT'],hold=True,label="SMART")
data=get_astm_airmass(1.5)
plt.plot(x,y,hold=True,label="AM1.5g")
plt.plot(data['WVLGTH'],data['GLOBL_TILT'],hold=True,label="SMART")
amass=np.linspace(0.5,3,num=10)
for a in amass:
    data=get_astm_airmass(a)
    plt.plot(data['WVLGTH'],data['GLOBL_TILT'],hold=True,label='%s'%a)
amass=np.linspace(0.5,3,num=10)
for a in amass:
    data=get_astm_airmass(a)
    plt.plot(data['WVLGTH'],data['GLOB_HORIZ'],hold=True,label='%s'%a)
data.columns
Explanation: Compare the results between standard AM1.5d and the SMARTS-generated spectrum
End of explanation
<END_TASK>