L iҚ TdZddgZddlZddlZddlmZddlmZddlZ ddl Z ddl m Z m Z mZmZmZddl mZdd lmZed k(Zd Zd Zd ZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&ededededed ed!iZ'ee!ee"ee#ee$ee%ee&iZ(eeeeeeeeed" Z)Gd#dZ*Gd$dZ+e*Z,e+Z-y)%a NetCDF reader/writer module. This module is used to read and create NetCDF files. NetCDF files are accessed through the `netcdf_file` object. Data written to and from NetCDF files are contained in `netcdf_variable` objects. Attributes are given as member variables of the `netcdf_file` and `netcdf_variable` objects. This module implements the Scientific.IO.NetCDF API to read and create NetCDF files. The same API is also used in the PyNIO and pynetcdf modules, allowing these modules to be used interchangeably when working with NetCDF files. Only NetCDF3 is supported here; for NetCDF4 see `netCDF4-python `__, which has a similar API. netcdf_filenetcdf_variableN)mul)python_implementation) frombufferdtypeemptyarrayasarray) little_endian)reducePyPysssssssss s s sss|sGbcrhifrd) r)Brrrrrr)lr)SrceZdZdZ d$dZdZdZeZdZdZ dZ d Z d Z e Z d Zd Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!e!Z"dZ#e#Z$d Z%d!Z&d"Z'd#Z(y)%ra A file object for NetCDF data. A `netcdf_file` object has two standard attributes: `dimensions` and `variables`. The values of both are dictionaries, mapping dimension names to their associated lengths and variable names to variables, respectively. Application programs should never modify these dictionaries. All other attributes correspond to global attributes defined in the NetCDF file. Global file attributes are created by assigning to an attribute of the `netcdf_file` object. Parameters ---------- filename : string or file-like string -> filename mode : {'r', 'w', 'a'}, optional read-write-append mode, default is 'r' mmap : None or bool, optional Whether to mmap `filename` when reading. Default is True when `filename` is a file name, False when `filename` is a file-like object. Note that when mmap is in use, data arrays returned refer directly to the mmapped data on disk, and the file cannot be closed as long as references to it exist. version : {1, 2}, optional version of netcdf to read / write, where 1 means *Classic format* and 2 means *64-bit offset format*. Default is 1. See `here `__ for more info. maskandscale : bool, optional Whether to automatically scale and/or mask data based on attributes. Default is False. Notes ----- This module is derived from `pupynere `_. The major advantage of this module over other modules is that it doesn't require the code to be linked to the NetCDF libraries. However, for a more recent version of the NetCDF standard and additional features, please consider the permissively-licensed `netcdf4-python `_. NetCDF files are a self-describing binary data format. The file contains metadata that describes the dimensions and variables in the file. More details about NetCDF files can be found `here `__. There are three main sections to a NetCDF data structure: 1. Dimensions 2. Variables 3. Attributes The dimensions section records the name and length of each dimension used by the variables. The variables would then indicate which dimensions it uses and any attributes such as data units, along with containing the data values for the variable. It is good practice to include a variable that is the same name as a dimension to provide the values for that axes. Lastly, the attributes section would contain additional information such as the name of the file creator or the instrument used to collect the data. When writing data to a NetCDF file, there is often the need to indicate the 'record dimension'. A record dimension is the unbounded dimension for a variable. For example, a temperature variable may have dimensions of latitude, longitude and time. If one wants to add more temperature data to the NetCDF file as time progresses, then the temperature variable should have the time dimension flagged as the record dimension. In addition, the NetCDF file header contains the position of the data in the file, so access can be done in an efficient manner without loading unnecessary data into memory. It uses the ``mmap`` module to create Numpy arrays mapped to the data on disk, for the same purpose. Note that when `netcdf_file` is used to open a file with mmap=True (default for read-only), arrays returned by it refer to data directly on the disk. The file should not be closed, and cannot be cleanly closed when asked, if such arrays are alive. You may want to copy data arrays obtained from mmapped Netcdf file if they are to be processed after the file is closed, see the example below. Examples -------- To create a NetCDF file: >>> from scipy.io import netcdf_file >>> import numpy as np >>> f = netcdf_file('simple.nc', 'w') >>> f.history = 'Created for a test' >>> f.createDimension('time', 10) >>> time = f.createVariable('time', 'i', ('time',)) >>> time[:] = np.arange(10) >>> time.units = 'days since 2008-01-01' >>> f.close() Note the assignment of ``arange(10)`` to ``time[:]``. Exposing the slice of the time variable allows for the data to be set in the object, rather than letting ``arange(10)`` overwrite the ``time`` variable. To read the NetCDF file we just created: >>> from scipy.io import netcdf_file >>> f = netcdf_file('simple.nc', 'r') >>> print(f.history) b'Created for a test' >>> time = f.variables['time'] >>> print(time.units) b'days since 2008-01-01' >>> print(time.shape) (10,) >>> print(time[-1]) 9 NetCDF files, when opened read-only, return arrays that refer directly to memory-mapped data on disk: >>> data = time[:] If the data is to be processed after the file is closed, it needs to be copied to main memory: >>> data = time[:].copy() >>> del time >>> f.close() >>> data.mean() 4.5 A NetCDF file can also be used as context manager: >>> from scipy.io import netcdf_file >>> with netcdf_file('simple.nc', 'r') as f: ... print(f.history) b'Created for a test' Nc|dvr tdt|dr,||_d|_|d}nP|rNt|dsBtd||_|d k(rd n|}t |j|d |_|t }|d k7rd}||_||_||_||_ i|_ i|_ g|_ d |_ d |_d|_d|_|j rwt#j$|jj'd t"j(|_t+j,|jt*j.|_i|_|dvr|j3yy)z7Initialize netcdf_file from fileobj (str or file-like).rwaz$Mode must be either 'r', 'w' or 'a'.seekNoneNFfilenozCannot use file object for mmapazr+rrr)accessrra) ValueErrorhasattrfpfilenameopenIS_PYPYuse_mmapmode version_byte maskandscale dimensions variables_dims_recs_recsize_mm_mm_bufmmmmapr) ACCESS_READnprint8 _attributes_read)selfr2r6rAversionr8omodes V/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/io/_netcdf.py__init__znetcdf_file.__init__sH u CD D 8V $DG"DM|gh9 !BCC$DM CKDTE4==UG1+6DG|$  3;D  #(    ==wwtww~~/2>>JDH==ADL 4< JJL c` ||j|<||j|<y#t$rYwxYwNrEAttributeError__dict__rGattrvalues rJ __setattr__znetcdf_file.__setattr__; %*D  T "$ d    ! --ct|dr|jjs |ji|_|j dt j|j }d|_||jjntjdtdd|_|jjyyy#i|_|j dt j|j }d|_||jjntjdtdd|_|jjwxYw)zCloses the NetCDF file.r1Na1Cannot close a netcdf_file opened with mmap=True, when netcdf_variables or arrays referring to its data still exist. All data arrays obtained from such files refer directly to data on disk, and must be copied before the file can be cleanly closed. (See netcdf_file docstring for more information on mmap.)r)category stacklevel) r0r1closedflushr:r?weakrefrefr>closewarningswarnRuntimeWarning)rGr^s rJr_znetcdf_file.close&s 4 tww~~  !#<<+!++dll3C#'DLu}(! X &4  1(6 "$<<+!++dll3C#'DLu}(! X &4  s CBE)c|SrNrGs rJ __enter__znetcdf_file.__enter__Cs rLc$|jyrN)r_)rGtyperT tracebacks rJ__exit__znetcdf_file.__exit__Fs  rLc||jr td||j|<|jj|y)a- Adds a dimension to the Dimension section of the NetCDF data structure. Note that this function merely adds a new dimension that the variables can reference. The values for the dimension, if desired, should be added as a variable using `createVariable`, referring to this dimension. Parameters ---------- name : str Name of the dimension (Eg, 'lat' or 'time'). length : int Length of the dimension. See Also -------- createVariable Nz&Only first dimension may be unlimited!)r;r/r9appendrGnamelengths rJcreateDimensionznetcdf_file.createDimensionIs;( >djjEF F & $rLct|Dcgc]}|j|c}}t|Dcgc]}|xsd c}}t|}|j|j}}||ft vrt d|t||jd} t| |||||j|j|<|j|Scc}wcc}w)a Create an empty variable for the `netcdf_file` object, specifying its data type and the dimensions it uses. Parameters ---------- name : str Name of the new variable. type : dtype or str Data type of the variable. dimensions : sequence of str List of the dimension names used by the variable, in the desired order. Returns ------- variable : netcdf_variable The newly created ``netcdf_variable`` object. This object has also been added to the `netcdf_file` object as well. See Also -------- createDimension Notes ----- Any dimensions to be used by the variable should already exist in the NetCDF data structure or should be created by `createDimension` prior to creating the NetCDF variable. rzNetCDF 3 does not support type r!r-r8) tupler9rcharitemsizeREVERSEr/r newbyteorderrr8r:) rGrnrhr9dimshapeshape_typecodesizedatas rJcreateVariableznetcdf_file.createVariablecs>zBts+BCE2Sq23T{DMM$ d 7 *>tfEF FV4#4#4S#9:.heZ!.. 0t~~d##C2s C Cc\t|dr |jdvr|jyyy)z Perform a sync-to-disk flush if the `netcdf_file` object is in write mode. See Also -------- sync : Identical function r6waN)r0r6_writeres rJr\znetcdf_file.flushs* 4 TYY$%6 KKM&7 rLcj|jjd|jjd|jjt|jdj |j |j|j|jy)NrCDF>b) r1r'writer r7tobytes_write_numrecs_write_dim_array_write_gatt_array_write_var_arrayres rJrznetcdf_file._writesy  Q  f  eD--t4<<>?     rLc|jjD]T}|jst|j|j kDs3t|j|j d<V|j|j yNr<)r:valuesisreclenr}r<rQ _pack_int)rGvars rJrznetcdf_file._write_numrecss`>>((* 7CyyS]TZZ7),SXX g& 7 tzz"rLcn|jr|jjt|j t |j|j D]7}|j||j|}|j |xsd9y|jjty)Nr) r9r1r NC_DIMENSIONrrr; _pack_stringABSENTrms rJrznetcdf_file._write_dim_arrays ?? GGMM, ' NN3t/ 0  ,!!$'.v{+ , GGMM& !rLc:|j|jyrN)_write_att_arrayrEres rJrznetcdf_file._write_gatt_arrays d../rLc.|rt|jjt|jt ||j D]'\}}|j ||j|)y|jjtyrN) r1r NC_ATTRIBUTErritemsr_write_att_valuesr)rG attributesrnrs rJrznetcdf_file._write_att_arrayso  GGMM, ' NN3z? + * 0 0 2 / f!!$'&&v. / GGMM& !rLc0jrjjtj t jfd}t j|d}|D]}j|tjjDcgc]}|jr |jc}jd<|D]}j|yjjtycc}w)NcTj|}|jry|jS)N))r:r_shape)nvrGs rJsortkeyz-netcdf_file._write_var_array..sortkeys$NN1%77 xxrLT)keyreverser=)r:r1r NC_VARIABLErrsorted_write_var_metadatasumrr_vsizerQ_write_var_datar)rGrr:rnrs` rJrznetcdf_file._write_var_arrays >> GGMM+ & NN3t~~. / t~~7DII" /((. /),*...*?*?*A-"#&yyJJ-")#DMM* %" +$$T* + GGMM& !-"s'DcN|j|}|j||jt|j|jD].}|j j |}|j|0|j|jt|j|jf}|jj||js7|jj |jjz}|| dzz }n| |jdj |jjz}t|jj%Dcgc]}|jr|c}}|dkDr || dzz }||j|j&d<|j||jj)|j|j&d<|j+dy#t"$rd}YwxYwcc}w)Nrrrr_begin)r:rrrr9r;indexrrErvr{rur1rrr}r| IndexErrorrrQtell _pack_begin) rGrnrdimnamedimidnc_typevsizerrec_varss rJrznetcdf_file._write_var_metadatasnnT" $ s3>>*+~~ "GJJ$$W-E NN5 ! " coo.#,,.#,,.89  gyyHHMMCHH$5$55E eVaZ E  ((388+<+<<t~~'<'<'>(! ww()H!|%!#27t%%h/ u37'',,.t%%h/   (s#0H4H" HHc|j|}|jj}|jj|j|j ||jj||j s|jj|jj|jj|jjz}|j||j|z y|jt|jkDrC|jf|jj ddz} |jj#||jjx}}|jD]} | j sH| j&j.dk(s| j&j.dk(rt0r| j3} |jj| j| j| jz}|j||j|z ||j4z }|jj||jj||jzy#t$$rV|jj&}t)j"|j|j+||j,d<YwxYw)Nrr}<=)r:r1rr'rrrrr}rr|ru_write_var_paddingrr<rryresizer/rrCastyperQ byteorder LITTLE_ENDIANbyteswapr=) rGrnr the_beguinecountryrpos0posrecs rJrznetcdf_file._write_var_datasnnT"gglln   SZZ  %  [!yy GGMM#((**, -HHMMCHH$5$55E  # #Ce); <zzCM) qr(::THHOOE*  'D3xx "yycii&9&9S&@,,3 ,,.C ckkm,3<</''SZZ%-?@t}}$ S! " GGLL * +%"THHNNE+-99SXXu+E+L+LU+SCLL(TsJ!!AL?Lc||j}|t|z}|jj||zyrN)_get_encoded_fill_valuerr1r)rGrr|encoded_fill_value num_fillss rJrznetcdf_file._write_var_padding.s7 88:C 233   (945rLct|dr4t|jj|jjf}n[t t fttfttfg}t|ttzr|}n |d}|D]\}}t||snt\}}d|}|dk(rdn|}t||}|j j#||jjdk(r |j} n |j$} |j'| |j(sH|jj*dk(s|jj*dk(rt,r|j/}|j j#|j1|j$|jz} |j j#d | d zzy#t$r|}YdwxYw) Nrr>z>cr#r-rrrr)r0rvrrtruintNC_INTfloatNC_FLOATstrNC_CHAR isinstancebytes TypeErrorTYPEMAPr r1rr|rryrrrr) rGrrtypessampleclass_r{r|dtype_nelemsrs rJrznetcdf_file._write_att_values3s 67 #fll//1F1FFGG6]UH$5W~FE&#+.$#AYF$) ff- !)$XJ$Fv.  g <<   #__F[[F v||!7!73!>''3.=__&F  fnn&' foo-  g%!,-7!$#F$s?G G)(G)c`|jjd}|dk(std|jdt |jjddd|j d<|j |j|j|jy) NrzError: z is not a valid NetCDF 3 filerrrr7) r1readrr2rrQ _read_numrecs_read_dim_array_read_gatt_array_read_var_array)rGmagics rJrFznetcdf_file._read\s Qgdmm_4QRS S(2477<<?D(I!(L n%    rLc>|j|jd<yr) _unpack_intrQres rJrznetcdf_file._read_numrecsis!%!1!1!3 grLcf|jjd}|ttfvr t d|j }t |D]_}|jjd}|j xsd}||j|<|jj|ayNrUnexpected header.latin1) r1rZEROrr/rrange_unpack_stringdecoder9r;rl)rGheaderrrxrnros rJrznetcdf_file._read_dim_arraylsa $ - -12 2  "< $C&&(//9D%%'/4F$*DOOD ! JJ  d #  $rLct|jjD]\}}|j||yrN)_read_att_arrayrrU)rGkrs rJrznetcdf_file._read_gatt_arrayxs7((*002 #DAq   Q " #rLc|jjd}|ttfvr t d|j }i}t |D]4}|jjd}|j||<6|Sr) r1rrrr/rrrr_read_att_values)rGrrrrSrns rJrznetcdf_file._read_att_array|sa $ - -12 2  " %L 7D&&(//9D#446Jt  7rLc $|jjd}|ttfvr t dd}ggd}g}|j }t |D]}|j\ }}} } } } } }}| r| d|j||jdxx|z cc<|dk(r|}|dj||djt| dd| z| d vrPttd | ddz| z}| dz}|r/|djd ||djd |d d}ntt| d| z}|jr*|j|||zj| }| |_n|jj#}|jj%|t'|jj|| j)}| |_|jj%|t+|| | | || |j,|j.|<|rRt1|dk(r|ddd|d<|ddd|d<|jrN|j|||j2|j4zz}|j|}|j2f|_n|jj#}|jj%|t'|jj|j2|j4z|j)}|j2f|_|jj%||D]!}|||j.|jd<#yy)Nrrr)namesformatsr=rrrbchr _padding_(z,)>br-rrr})r1rrrr/rr _read_varrlrQrr rr5r?viewryrr'rcopyrr8r:rr<r=)rGrbegindtypesrrrrnr9ryrr{r|rbegin_r actual_sizepaddingr}a_sizerbuf rec_arrays rJrznetcdf_file._read_var_arraysVa $ , ,12 2"-  "<6 4C6:nn6F 4T:uj tVVUq)% j)U2)A:"Ew&&t,y!((U12Y&)@Au$"(dU12Y.>"?$"FK*lQ.Gw..3%/@Ay)001WIT1BC UA.5==<<vf}=BBBPD!&DJ'',,.CGGLL(%dggll6&:&((,!&DJGGLL%$3(D%Z!%!2!2$4DNN4 i6 4p 8}!"(/"1"5w$*9$5bq$9y!}}ll5tzz$--/G)GHHH6H2 #'::- gglln U#&tww||DJJt}}4L'M-3559TV#'::-  S! F7@~s#,,V4 F' rLc \|jjd}g}g}|j}t|D]R}|j}|j|}|j ||j |}|j |Tt|}t|}|j} |jjd} |j} |j|jg|jdz } t| \} }d| }|||| | ||| | f S)Nrrrr)rrrrr;rlr9rsrr1r _unpack_int64r7r)rGrnr9rydimsrrrrxrrrrr{r|rs rJrznetcdf_file._read_vars*""$++H5 !t A$$&Ejj'G   g &//'*C LL    :& e ))+ '',,q/  "K!!4#5#56t7H7H7JKM )$XJZ HdFESXXXrLc|jjd}|j}t|\}}||z}|jjt |}|jj| dz|dk7r4t |d|j }|jdk(r|d}|S|jd}|S)Nrrrr-rrr) r1rrrrrrryrstrip)rGrrr{r|rrs rJrznetcdf_file._read_att_valuess'',,q/     )$$c%j)  eVaZ s?(n=BBDF||t# ]]7+F rLc|jdk(r|j|y|jdk(r|j|yy)Nrr)r7r _pack_int64)rGrs rJrznetcdf_file._pack_begin s=    ! NN5 !   ! #   U #$rLcj|jjt|djy)N>ir1rr rrGrTs rJrznetcdf_file._pack_int"  eE4(0023rLcdtt|jjdddS)Nrr r)rrr1rres rJrznetcdf_file._unpack_ints%:dggll1ot4Q788rLcj|jjt|djy)N>qr rs rJr znetcdf_file._pack_int64rrLcRt|jjdddS)Nr rr)rr1rres rJrznetcdf_file._unpack_int64s $'',,q/4033rLct|}|j||jj|j d|jjd| dzzy)Nrrr)rrr1rencode)rGsrs rJrznetcdf_file._pack_stringsKA u  ahhx()  g%!,-rLc|j}|jj|jd}|jj| dz|S)Nrr)rr1rr)rGrrs rJrznetcdf_file._unpack_string$sH  " GGLL  & &w /  eVaZ rL)r+NrF))__name__ __module__ __qualname____doc__rKrUr___del__rfrjrpr~r\syncrrrrrrrrrrrFrrrrrrrrr _pack_int32r _unpack_int32r rrrrdrLrJrrbsGP?@#0d$ 6G 4,$\  D  # "0""6B(,T6 '.R 4 $# UFnY2$$ 4K9M44. rLceZdZdZ ddZdZdZeeZdZeeZdZ dZ d Z d Z d Z d Zd ZdZdZedZy)ra A data object for netcdf files. `netcdf_variable` objects are constructed by calling the method `netcdf_file.createVariable` on the `netcdf_file` object. `netcdf_variable` objects behave much like array objects defined in numpy, except that their data resides in a file. Data is read by indexing and written by assigning to an indexed subset; the entire array can be accessed by the index ``[:]`` or (for scalars) by using the methods `getValue` and `assignValue`. `netcdf_variable` objects also have attribute `shape` with the same meaning as for arrays, but the shape cannot be modified. There is another read-only attribute `dimensions`, whose value is the tuple of dimension names. All other attributes correspond to variable attributes defined in the NetCDF file. Variable attributes are created by assigning to an attribute of the `netcdf_variable` object. Parameters ---------- data : array_like The data array that holds the values for the variable. Typically, this is initialized as empty, but with the proper shape. typecode : dtype character code Desired data-type for the data array. size : int Desired element size for the data array. shape : sequence of ints The shape of the array. This should match the lengths of the variable's dimensions. dimensions : sequence of strings The names of the dimensions used by the variable. Must be in the same order of the dimension lengths given by `shape`. attributes : dict, optional Attribute values (any type) keyed by string names. These attributes become attributes for the netcdf_variable object. maskandscale : bool, optional Whether to automatically scale and/or mask data based on attributes. Default is False. Attributes ---------- dimensions : list of str List of names of dimensions used by the variable object. isrec, shape Properties See also -------- isrec, shape Notes ----- For a more recent version of the NetCDF standard and additional features, please consider the permissively-licensed `netcdf4-python `_. Nc||_||_||_||_||_||_|xsi|_|j jD]\}} | |j|<yrN) r} _typecode_sizerr9r8rErrQ) rGr}r{r|ryr9rr8rrs rJrKznetcdf_variable.__init__fsl !  $(%+$$**, !DAq DMM!  !rLc` ||j|<||j|<y#t$rYwxYwrNrOrRs rJrUznetcdf_variable.__setattr__trVrWcdt|jjxr|jd S)aDReturns whether the variable has a record dimension or not. A record dimension is a dimension along which additional data could be easily appended in the netcdf data structure without much rewriting of the data file. This attribute is a read-only property of the `netcdf_variable`. r)boolr}ryrres rJrznetcdf_variable.isrec}s'DIIOO$;T[[^);;rLc.|jjS)zReturns the shape tuple of the data variable. This is a read-only attribute and can not be modified in the same manner of other numpy arrays. )r}ryres rJryznetcdf_variable.shapes yyrLc6|jjS)z Retrieve a scalar value from a `netcdf_variable` of length one. Raises ------ ValueError If the netcdf variable is an array of length greater than one, this exception will be raised. )r}itemres rJgetValueznetcdf_variable.getValuesyy~~rLcx|jjjs td||jddy)a Assign a scalar value to a `netcdf_variable` of length one. Parameters ---------- value : scalar Scalar value (of compatible type) to assign to a length-one netcdf variable. This value will be written to file. Raises ------ ValueError If the input is not a scalar, or if the destination is not a length-one netcdf variable. zvariable is not writeableN)r}flags writeable RuntimeErrorrs rJ assignValueznetcdf_variable.assignValues0"yy(( :; ; ! rLc|jS)z Return the typecode of the variable. Returns ------- typecode : char The character typecode of the variable (e.g., 'i' for int). )r"res rJr{znetcdf_variable.typecodes~~rLc|jS)z Return the itemsize of the variable. Returns ------- itemsize : int The element size of the variable (e.g., 8 for float64). )r#res rJruznetcdf_variable.itemsizeszzrLc|js|j|S|j|j}|j}|j ||}|j j d}|j j d}|||jtj}|||z}|||z }|S)N scale_factor add_offset) r8r}r_get_missing_value_apply_missing_valuerEgetrrCfloat64)rGrr} missing_valuer3r4s rJ __getitem__znetcdf_variable.__getitem__s  99U# #yy$$&//1 ((}=''++N; %%)),7  !\%=;;rzz*D  #,&D  ! J D rLc0|jr|jxs t|dd}|jj d||jj d|||jj ddz |jj ddz }t jj|j|}|jd vr.|jjd k(rt j|}|jrt|t r|d }n|}t|t"r|j$xsd t'|z}n|d z}|t'|j(kDr/|f|j*d dz} |j(j-|||j(|<y#t.$rU|j(j}t j,|j(|j1||j2d <YmwxYw)N fill_valuei?Br9 _FillValuer4gr3g?fdrrrr})r8r5getattrrE setdefaultr7rCmar filledr"rkindroundrrrsslicestartrr}rrr/rrQ)rGrr}r9 rec_indexrecsryrs rJ __setitem__znetcdf_variable.__setitem__s   ++-8D,7     ' ' G    ' ' m DD,,00sCC$$((=>D55==&--mrhs4B + ,*::0 !V + ,        ! "     1 H H X 8 X h   I I Z 8 Z k  # F F RaaH   rL