Opened 8 months ago

Closed 3 weeks ago

#3322 closed help (answered)

CFA on CentOS7 Jasmin

Reported by: EmmaHoward Owned by: um_support
Component: JASMIN Keywords: CFA
Cc: Platform: JASMIN
UM Version:

Description

Hello,

I've been using CFA to convert some UM-PP files to NetCDF on Lotus after copying them from archer, and I'm trying to update my workflow to use the new slurm system. I've been using the version of cfa located at /usr/bin/cfa on the old system, but this is not available on the CentOS7 machines.

When I try to use the version of cfa at /home/users/ajh/anaconda3/bin/cfa, I sometimes get the error:

cfa ERROR reading [file]: name 'cm0' is not defined

I get this on both the CentOS7 machines and jasmin-sci6.

Could you please advise me how to proceed?

Best wishes,
Emma

Change History (6)

comment:1 Changed 8 months ago by andy

Hi Emma,

Could you provide an example cfa command line example that gives this error on jasmin-sci6?

Cheers
Andy

comment:2 Changed 8 months ago by EmmaHoward

Hi Andy,

Yes, it was:
/home/users/ajh/anaconda3/bin/cfa -d pp umnsaa_pb20151101_00.pp

The input file was in a group workspace but I've copied it to /work/scratch-nopw/emmah/cfa in case it's useful for you to access.

Best,
Emma

comment:3 Changed 8 months ago by andy

Hi Emma,

I see that error too and can replicate it when trying to read the file using cf-python. I'll let David and Sadie know and see if they can push out a fix as this looks like a bug.

Cheers
Andy

comment:4 Changed 8 months ago by EmmaHoward

Hi Andy,

Okay great, thank you!

Emma

comment:5 Changed 7 months ago by andy

Hi Emma,

cf-python 3.6.0 has been released and looks to fix this issue when using cf-python to read the file. I have updated the cfa that you are using and it now produces a file though does give an error:

cfa -d pp umnsaa_pb20151101_00.pp
cfa ERROR writing /home/users/ajh/pp/umnsaa_pb20151101_00.nc: 'NoneType?' object has no attribute 'split'

I will check with David and Sadie what's happening here as reading in the pp file gives 48 fields and reading in the netCDF file produced by cfa give one field.

Cheers
Andy

comment:6 Changed 3 weeks ago by ros

  • Keywords CFA added
  • Resolution set to answered
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.