Re: error for creating netcdf file

From: <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 06 2010 - 08:09:18 MST

The lat and lon arrays are not correct.

No ..

    nlat = dimx(1)*2 ;73*2
    mlon = dimx(2)*2 ;144*2

Yes ..

    nlat = dimx(1) ;73
    mlon = dimx(2) ;144

---
No ..
        lat    = f[:]->lat              ;146
        lon    = f[:]->lon
Yes ..
        lat    = f[0]->lat              ; 73
        lon    = f[0]->lon
---
Good luck
> Dear ncl users,
> I'm trying to create a netcdf file containing the wind anomalies from
> 1987-2007. I have read data from two seperate files
> uwnd.day.850.mean.87-96.nc, uwnd.day.850.mean.97-07.nc, but error occurs
> in
> line 148 (dimension sizes of left hand side do not match right hand side).
> I
> wonder why is this so. I would be much appreciated if anyone can help to
> check my code out. Thanks in advance.
> Regards,
> shinn
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 6 08:10:51 2010

This archive was generated by hypermail 2.1.8 : Wed Jan 06 2010 - 17:07:09 MST