i'm trying extract single variable data tell me temperature , height radar data , i'm trying run terminal in linux, keeps giving me error message saying "no such file or directory." here code:
ls datadata cd desktop python datadata.py
here contents of file:
<xarray.dataset> dimensions: (time: 6, bottom_top: 99, bottom_top_stag: 100, soil_layers_stag: 5, south_north: 128, south_north_stag: 129, west_east: 128, west_east_stag: 129) coordinates: xlat (time, south_north, west_east) float32 18.0 18.0 ... xlong (time, south_north, west_east) float32 -62.0 -62.0 ... xlat_u (time, south_north, west_east_stag) float32 0.0 0.0 ... xlong_u (time, south_north, west_east_stag) float32 0.0 0.0 ... xlat_v (time, south_north_stag, west_east) float32 0.0 0.0 ... xlong_v (time, south_north_stag, west_east) float32 0.0 0.0 ... time (time) int64 0 1 2 3 4 5 bottom_top (bottom_top) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ... bottom_top_stag (bottom_top_stag) int64 0 1 2 3 4 5 6 7 8 9 10 11 ... soil_layers_stag (soil_layers_stag) int64 0 1 2 3 4 south_north (south_north) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ... south_north_stag (south_north_stag) int64 0 1 2 3 4 5 6 7 8 9 10 11 ... west_east (west_east) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ... west_east_stag (west_east_stag) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 ... data variables: times (time) |s19 b'2004-12-16_02:00:00' ... lu_index (time, south_north, west_east) float32 0.0 0.0 0.0 ... znu (time, bottom_top) float32 0.994949 0.984848 ... znw (time, bottom_top_stag) float32 1.0 0.989899 ... zs (time, soil_layers_stag) float32 0.0 0.0 0.0 0.0 ... dzs (time, soil_layers_stag) float32 0.0 0.0 0.0 0.0 ... var_sso (time, south_north, west_east) float32 0.0 0.0 0.0 ... lap_hgt (time, south_north, west_east) float32 0.0 0.0 0.0 ... u (time, bottom_top, south_north, west_east_stag) float32 -8.0977 ... v (time, bottom_top, south_north_stag, west_east) float32 -4.92184 ... w (time, bottom_top_stag, south_north, west_east) float32 -0.0 ... ph (time, bottom_top_stag, south_north, west_east) float32 0.0 ... phb (time, bottom_top_stag, south_north, west_east) float32 0.0 ... t (time, bottom_top, south_north, west_east) float32 -2.18884 ... hfx_force (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 lh_force (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 tsk_force (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 hfx_force_tend (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 lh_force_tend (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 tsk_force_tend (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 mu (time, south_north, west_east) float32 -437.29 ... mub (time, south_north, west_east) float32 38601.9 ... nest_pos (time, south_north, west_east) float32 0.0 0.0 0.0 ... tke (time, bottom_top, south_north, west_east) float32 0.0961436 ... p (time, bottom_top, south_north, west_east) float32 88.3828 ... pb (time, bottom_top, south_north, west_east) float32 101345.0 ... fnm (time, bottom_top) float32 0.0 0.5 0.500001 ... fnp (time, bottom_top) float32 0.0 0.5 0.499999 ... rdnw (time, bottom_top) float32 -98.9999 -98.9999 ... rdn (time, bottom_top) float32 0.0 -98.9999 -99.0002 ... dnw (time, bottom_top) float32 -0.010101 -0.010101 ... dn (time, bottom_top) float32 0.0 -0.010101 -0.010101 ... cfn (time) float32 1.5 1.5 1.5 1.5 1.5 1.5 cfn1 (time) float32 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 p_hyd (time, bottom_top, south_north, west_east) float32 101339.0 ... q2 (time, south_north, west_east) float32 0.0 0.0 0.0 ... t2 (time, south_north, west_east) float32 0.0 0.0 0.0 ... th2 (time, south_north, west_east) float32 0.0 0.0 0.0 ... psfc (time, south_north, west_east) float32 101535.0 ... u10 (time, south_north, west_east) float32 0.0 0.0 0.0 ... v10 (time, south_north, west_east) float32 0.0 0.0 0.0 ... rdx (time) float32 0.01 0.01 0.01 0.01 0.01 0.01 rdy (time) float32 0.01 0.01 0.01 0.01 0.01 0.01 resm (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 zetatop (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 cf1 (time) float32 2.0 2.0 2.0 2.0 2.0 2.0 cf2 (time) float32 -1.5 -1.5 -1.5 -1.5 -1.5 -1.5 cf3 (time) float32 0.500002 0.500002 0.500002 0.500002 ... itimestep (time) int32 14400 15600 16800 18000 19200 20400 xtime (time) float32 120.0 130.0 140.0 150.0 160.0 170.0 qvapor (time, bottom_top, south_north, west_east) float32 0.0167233 ... qcloud (time, bottom_top, south_north, west_east) float32 0.0 ... qrain (time, bottom_top, south_north, west_east) float32 1.40266e-12 ... qice (time, bottom_top, south_north, west_east) float32 0.0 ... qsnow (time, bottom_top, south_north, west_east) float32 0.0 ... qgraup (time, bottom_top, south_north, west_east) float32 0.0 ... qhail (time, bottom_top, south_north, west_east) float32 0.0 ... qnwfa2d (time, south_north, west_east) float32 0.0 0.0 0.0 ... qnccn (time, bottom_top, south_north, west_east) float32 0.0 ... qncloud (time, bottom_top, south_north, west_east) float32 0.0 ... qnrain (time, bottom_top, south_north, west_east) float32 0.00523219 ... qnice (time, bottom_top, south_north, west_east) float32 0.0 ... qnsnow (time, bottom_top, south_north, west_east) float32 0.0 ... qngraupel (time, bottom_top, south_north, west_east) float32 0.0 ... qnhail (time, bottom_top, south_north, west_east) float32 0.0 ... qvgraupel (time, bottom_top, south_north, west_east) float32 0.0 ... shdmax (time, south_north, west_east) float32 0.0 0.0 0.0 ... shdmin (time, south_north, west_east) float32 0.0 0.0 0.0 ... snoalb (time, south_north, west_east) float32 0.0 0.0 0.0 ... tslb (time, soil_layers_stag, south_north, west_east) float32 0.0 ... smois (time, soil_layers_stag, south_north, west_east) float32 0.0 ... sh2o (time, soil_layers_stag, south_north, west_east) float32 0.0 ... smcrel (time, soil_layers_stag, south_north, west_east) float32 0.0 ... seaice (time, south_north, west_east) float32 0.0 0.0 0.0 ... xicem (time, south_north, west_east) float32 0.0 0.0 0.0 ... sfroff (time, south_north, west_east) float32 0.0 0.0 0.0 ... udroff (time, south_north, west_east) float32 0.0 0.0 0.0 ... ivgtyp (time, south_north, west_east) int32 0 0 0 0 0 0 0 ... isltyp (time, south_north, west_east) int32 0 0 0 0 0 0 0 ... vegfra (time, south_north, west_east) float32 0.0 0.0 0.0 ... grdflx (time, south_north, west_east) float32 0.0 0.0 0.0 ... acgrdflx (time, south_north, west_east) float32 0.0 0.0 0.0 ... acsnom (time, south_north, west_east) float32 0.0 0.0 0.0 ... snow (time, south_north, west_east) float32 0.0 0.0 0.0 ... snowh (time, south_north, west_east) float32 0.0 0.0 0.0 ... canwat (time, south_north, west_east) float32 0.0 0.0 0.0 ... sstsk (time, south_north, west_east) float32 0.0 0.0 0.0 ... coszen (time, south_north, west_east) float32 -0.871705 ... lai (time, south_north, west_east) float32 0.0 0.0 0.0 ... var (time, south_north, west_east) float32 0.0 0.0 0.0 ... mapfac_m (time, south_north, west_east) float32 0.0 0.0 0.0 ... mapfac_u (time, south_north, west_east_stag) float32 0.0 0.0 ... mapfac_v (time, south_north_stag, west_east) float32 0.0 0.0 ... mapfac_mx (time, south_north, west_east) float32 1.0 1.0 1.0 ... mapfac_my (time, south_north, west_east) float32 1.0 1.0 1.0 ... mapfac_ux (time, south_north, west_east_stag) float32 1.0 1.0 ... mapfac_uy (time, south_north, west_east_stag) float32 1.0 1.0 ... mapfac_vx (time, south_north_stag, west_east) float32 1.0 1.0 ... mf_vx_inv (time, south_north_stag, west_east) float32 1.0 1.0 ... mapfac_vy (time, south_north_stag, west_east) float32 1.0 1.0 ... f (time, south_north, west_east) float32 4.49e-05 ... e (time, south_north, west_east) float32 0.0 0.0 0.0 ... sinalpha (time, south_north, west_east) float32 0.0 0.0 0.0 ... cosalpha (time, south_north, west_east) float32 1.0 1.0 1.0 ... hgt (time, south_north, west_east) float32 0.0 0.0 0.0 ... tsk (time, south_north, west_east) float32 299.8 299.8 ... p_top (time) float32 62938.1 62938.1 62938.1 62938.1 ... t00 (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 p00 (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 tlp (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 tiso (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 max_mstfx (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 max_mstfy (time) float32 0.0 0.0 0.0 0.0 0.0 0.0 rainc (time, south_north, west_east) float32 0.0 0.0 0.0 ... rainsh (time, south_north, west_east) float32 0.0 0.0 0.0 ... rainnc (time, south_north, west_east) float32 0.120844 ... snownc (time, south_north, west_east) float32 0.0 0.0 0.0 ... graupelnc (time, south_north, west_east) float32 0.0 0.0 0.0 ... hailnc (time, south_north, west_east) float32 0.0 0.0 0.0 ... refl_10cm (time, bottom_top, south_north, west_east) float32 0.0 ... cldfra (time, bottom_top, south_north, west_east) float32 0.0 ... swdown (time, south_north, west_east) float32 0.0 0.0 0.0 ... glw (time, south_north, west_east) float32 0.0 0.0 0.0 ... swnorm (time, south_north, west_east) float32 0.0 0.0 0.0 ... olr (time, south_north, west_east) float32 0.0 0.0 0.0 ... albedo (time, south_north, west_east) float32 0.08 0.08 ... clat (time, south_north, west_east) float32 0.0 0.0 0.0 ... albbck (time, south_north, west_east) float32 0.08 0.08 ... emiss (time, south_north, west_east) float32 0.98 0.98 ... noahres (time, south_north, west_east) float32 0.0 0.0 0.0 ... tmn (time, south_north, west_east) float32 298.95 ... xland (time, south_north, west_east) float32 2.0 2.0 2.0 ... ust (time, south_north, west_east) float32 0.335208 ... pblh (time, south_north, west_east) float32 0.0 0.0 0.0 ... hfx (time, south_north, west_east) float32 8.70271 ... qfx (time, south_north, west_east) float32 6.01207e-05 ... lh (time, south_north, west_east) float32 150.302 ... achfx (time, south_north, west_east) float32 0.0 0.0 0.0 ... aclhf (time, south_north, west_east) float32 0.0 0.0 0.0 ... snowc (time, south_north, west_east) float32 0.0 0.0 0.0 ... sr (time, south_north, west_east) float32 0.0 0.0 0.0 ... save_topo_from_real (time) int32 0 0 0 0 0 0 afwa_cloud_ceil (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_cape (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_zlfc (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_plfc (time, south_north, west_east) float32 0.0 0.0 0.0 ... midrh_min (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_hail (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_llws (time, south_north, west_east) float32 0.0 0.0 0.0 ... afwa_tornado (time, south_north, west_east) float32 0.0 0.0 0.0 ... seed1 (time) int32 0 0 0 0 0 0 seed2 (time) int32 0 0 0 0 0 0 landmask (time, south_north, west_east) float32 0.0 0.0 0.0 ... lakemask (time, south_north, west_east) float32 0.0 0.0 0.0 ... sst (time, south_north, west_east) float32 299.8 299.8 ... sst_input (time, south_north, west_east) float32 0.0 0.0 0.0 ... attributes: title: output wrf v3.6 model start_date: 2004-12-16_02:00:00 simulation_start_date: 2004-12-16_00:00:00 west-east_grid_dimension: 129 south-north_grid_dimension: 129 bottom-top_grid_dimension: 100 dx: 100.0 dy: 100.0 stoch_force_opt: 0 gridtype: c diff_opt: 2 km_opt: 2 damp_opt: 0 dampcoef: 0.1 khdif: 500.0 kvdif: 500.0 mp_physics: 18 ra_lw_physics: 0 ra_sw_physics: 0 sf_sfclay_physics: 1 sf_surface_physics: 0 bl_pbl_physics: 0 cu_physics: 0 sf_lake_physics: 0 surface_input_source: 1 sst_update: 0 grid_fdda: 0 gfdda_interval_m: 0 gfdda_end_h: 0 grid_sfdda: 0 sgfdda_interval_m: 0 sgfdda_end_h: 0 hypsometric_opt: 2 sf_urban_physics: 0 shcu_physics: 0 mfshconv: 0 feedback: 0 smooth_option: 1 swrad_scat: 1.0 w_damping: 0 dt: 0.5 radt: 0.0 bldt: 0.0 cudt: 0.0 aer_opt: 0 swint_opt: 0 aer_type: 1 aer_aod550_opt: 1 aer_angexp_opt: 1 aer_ssa_opt: 1 aer_asy_opt: 1 aer_aod550_val: 0.12 aer_angexp_val: 1.3 aer_ssa_val: 1.4013e-45 aer_asy_val: 1.4013e-45 moist_adv_opt: 2 scalar_adv_opt: 2 tke_adv_opt: 2 diff_6th_opt: 0 diff_6th_factor: 0.12 obs_nudge_opt: 0 bucket_mm: -1.0 bucket_j: -1.0 prec_acc_dt: 0.0 sf_ocean_physics: 0 isftcflx: 0 ishallow: 0 isfflx: 1 icloud: 1 icloud_cu: 0 tracer_pblmix: 1 scalar_pblmix: 0 grav_settling: 0 dfi_opt: 0 west-east_patch_start_unstag: 1 west-east_patch_end_unstag: 128 west-east_patch_start_stag: 1 west-east_patch_end_stag: 129 south-north_patch_start_unstag: 1 south-north_patch_end_unstag: 128 south-north_patch_start_stag: 1 south-north_patch_end_stag: 129 bottom-top_patch_start_unstag: 1 bottom-top_patch_end_unstag: 99 bottom-top_patch_start_stag: 1 bottom-top_patch_end_stag: 100 grid_id: 1 parent_id: 0 i_parent_start: 1 j_parent_start: 1 parent_grid_ratio: 1 cen_lat: 0.0 cen_lon: 0.0 truelat1: 0.0 truelat2: 0.0 moad_cen_lat: 0.0 stand_lon: 0.0 pole_lat: 0.0 pole_lon: 0.0 gmt: 0.0 julyr: 0 julday: 1 map_proj: 0 map_proj_char: cartesian mminlu: num_land_cat: 24 iswater: 0 islake: 0 isice: 0 isurban: 0 isoilwater: 0
this when gives me error message [errno 2] no such file or directory. i'm trying use code retrieve variable file, below:
python datadata.py -o experiment_tas.nc --time-units="days since 1949-12-01_00:00:00" -v t2 wrfout1.nc wrfout2.nc ... wrfoutn.nc
how terminal retrieve variable , right code use variable?
Comments
Post a Comment