Re: ncl_convert2nc expression syntax

From: Joe Lee <hyoklee_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 22 2013 - 09:47:21 MDT

Hi, Laura!

  You can try our new "h4tonccf" tool on MERRA product [1] like below:

%./h4tonccf MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf
Done with writing netcdf file MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.nc.

 I put the converted NetCDF file in [2] for demo purpose.

[1] http://hdfeos.org/software/h4cflib.php
[2] ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/joe/data/MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.nc

From: ncl-talk-bounces@ucar.edu [mailto:ncl-talk-bounces@ucar.edu] On Behalf Of Laura Briley
Sent: Tuesday, October 22, 2013 10:32 AM
To: ncl-talk@ucar.edu
Subject: ncl_convert2nc expression syntax

Hi,
I am trying to use the ncl_convert2nc command to convert hdf files to netcdf but get the error: "if: Expression Syntax".  Here is the important information that I think you need:

[Laura-Brileys-MacBook:~] laura% ncl -V
6.1.2
[Laura-Brileys-MacBook:My Passport/Data/MERRA] laura% ncl_convert2nc MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf 
if: Expression Syntax.
[Laura-Brileys-MacBook:My Passport/Data/MERRA] laura% uname -a
Darwin Laura-Brileys-MacBook.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

I have put one of the files on your ftp site: MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf

Others have had the same problem but I have not come across any solutions yet:
http://www.ncl.ucar.edu/Support/talk_archives/2011/3210.html
http://www.ncl.ucar.edu/Support/talk_archives/2010/2138.html

Laura Briley
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 22 09:47:48 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT