Menu

#17 Attributes in new variables

None
closed
None
5
2015-11-30
2015-11-24
DARRAS
No

I need to add a dimension time to the variable 'emi_so2' (two dimensions, lat and lon) and I therefore used the following:
emi_time[time,lat,lon]=emi_so2
'emi_so2' variable was created originally with a bunch of attributes that I would like to retrieve in my output variable 'emi_time'. How can I do this ?

Discussion

  • Charlie Zender

    Charlie Zender - 2015-11-30

    Your example appears to use Left Hand Casting (LHC) in ncap2 to define emi_time. As explained in the manual here http://nco.sf.net/nco.html#att_prp, LHC does not invoke attribute propagation, you must do it manually as show here http://nco.sf.net/nco.html#ncap_att or rewrite you definition so it does not use LHC and then attribute propagation will occur automatically.
    cz

     
  • Charlie Zender

    Charlie Zender - 2015-11-30
    • status: open --> closed
    • assigned_to: Charlie Zender
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB