<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<table width="99.99%" height="100%" style="padding: 10px; background-color: transparent;" border="0" cellpadding="0" cellspacing="0" background="cid:_Foxmail.1@6b99c783-328f-bf7a-80c8-9c73c14c17e1">
<tbody><tr>
<td valign="top" style="width:100%;height:100%;line-height:160%;font-size:10.5pt;">
<div style="">
<div><span></span><br></div>
<div>hi,</div><div> when i create a nc file with ncl , and assign _FillValue in it, part of code shows the following:</div><div>+++++++++++++++++++++++++++++++++++++++++++++ </div><div> <span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;">filevardef(fout01,"FSDS","float",(/"time","lat","lon"/))</span></div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> FSDSatt = True<br> FSDSatt@mode = "time-dependent"<br> FSDSatt@units = "W/m2"<br> FSDSatt@long_name = "incident solar (FSDS)"<br> FSDSatt@_FillValue=9.999E20<br> filevarattdef(fout01,"FSDS",FSDSatt)</span><div> ++++++++++++++++++++++++++++++++++++++++++++</div><div><br></div><div>but the error information from the operation shows the below:</div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;">ncendef: ncid 131072: NetCDF: Not a valid data type or _FillValue type mismatch</span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;"><br></span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;">i want to know how to assign _FillValue in nc file in ncl script?</span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;"><br></span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;">thanks </span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 160%;"><br></span></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>dyjbean@163.com</div></div></span></div>
<div></div></div>
</td>
</tr>
</tbody></table>
</body></html>