<div dir="ltr">Hi ,<div><br></div><div>I am having some problems to create and open a descriptor file. I have already read post about that, but I can't find the problem.</div><div><br></div><div>This is the information from ncdump -h :</div>
<div><br></div><div><div>dimensions:</div><div><span class="" style="white-space:pre">        </span>longitude = 144 ;</div><div><span class="" style="white-space:pre">        </span>latitude = 73 ;</div><div><span class="" style="white-space:pre">        </span>Time = 1 ;</div>
<div>variables:</div><div><span class="" style="white-space:pre">        </span>double longitude(longitude) ;</div><div><span class="" style="white-space:pre">                </span>longitude:units = "degreesE" ;</div><div><span class="" style="white-space:pre">        </span>double latitude(latitude) ;</div>
<div><span class="" style="white-space:pre">                </span>latitude:units = "degreesN" ;</div><div><span class="" style="white-space:pre">        </span>double Time(Time) ;</div><div><span class="" style="white-space:pre">                </span>Time:units = "month" ;</div>
<div><span class="" style="white-space:pre">        </span>float north(Time, latitude, longitude) ;</div><div><span class="" style="white-space:pre">                </span>north:units = "days" ;</div><div><span class="" style="white-space:pre">                </span>north:missing_value = -999.f ;</div>
<div><span class="" style="white-space:pre">                </span>north:long_name = "NorthType" ;</div><div>}</div></div><div><br></div><div>I tried to open the file with sdfopen, and I got the error:</div><div><div>Scanning self-describing file: <a href="http://file1.nc">file1.nc</a></div>
<div>gadsdf: SDF file has no discernable X coordinate.</div></div><div><br></div><div>then, I created the data descriptor like:</div><div><div>DSET <a href="http://file1.nc">file1.nc</a></div><div>UNDEF -999</div><div>TITLE cwt</div>
<div>XDEF 144 LINEAR 0.0 2.5</div><div>YDEF 73 LINEAR -90 2.5</div><div>TDEF 1 LINEAR jan 1961 1Mo</div><div>OPTIONS yrev</div><div><br></div><div>VARS 1</div><div>north 0 99 north</div><div>ENDVARS</div></div><div>
<br></div><div>and the problem is still happening.. , now the message is:</div><div><div>Scanning Descriptor File: file1.ctl</div><div>gadxdf error: Missing or invalid dimension size.</div><div> --> The invalid description file record is: </div>
<div> --> xdef 144 linear 0.0 2.5</div><div> The data file was not opened.</div></div><div><br></div><div>anyone could give an idea?? I don't know how fix it.</div><div><br></div><div>Thanks in advance</div><div>
<br></div><div>Cheers,</div><div>Noelia.</div><div><br></div></div>