Dataset Preview
Viewer
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    DatasetGenerationError
Message:      An error occurred while generating the dataset
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1995, in _prepare_split_single
                  for _, table in generator:
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 818, in wrapped
                  for item in generator(*args, **kwargs):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/text/text.py", line 90, in _generate_tables
                  batch = f.read(self.config.chunksize)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 1101, in read_with_retries
                  out = read(*args, **kwargs)
                File "/usr/local/lib/python3.9/codecs.py", line 322, in decode
                  (result, consumed) = self._buffer_decode(data, self.errors, final)
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 24: invalid start byte
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1316, in compute_config_parquet_and_info_response
                  parquet_operations, partial = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 909, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Open a discussion for direct support.

text
string
!
! Copyright 2013, Tarje Nissen-Meyer, Alexandre Fournier, Martin van Driel
! Simon Stähler, Kasra Hosseini, Stefanie Hempel
!
! This file is part of AxiSEM.
! It is distributed from the webpage <http://www.axisem.info>
!
! AxiSEM is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! AxiSEM is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with AxiSEM. If not, see <http://www.gnu.org/licenses/>.
!
!=========================================================================================
program field_transformation
#ifdef unc
use netcdf
#endif
implicit none
#ifdef unc
include 'netcdf.inc'
#endif
#ifdef unc
integer :: nvar, ivar
integer :: nsnap, ngll, ngllread, npol, nelem
integer :: nmode
integer :: ncin_id, ncin_snap_grpid, ncin_mesh_grpid
integer :: ncout_id, ncout_fields_grpid, ncout_gll_dimid
integer :: ncout_snap_dimid, ncout_mesh_grpid
integer :: ncout_mesh_varids(255), ncin_mesh_varids(255)
integer :: ncout_mesh_mps_varid, ncin_mesh_mps_varid
integer :: ncout_mesh_mpz_varid, ncin_mesh_mpz_varid
integer :: ncout_comp_dimid
integer :: ncout_stf_varids(2)
integer :: ncin_stf_varids(2)
integer :: nc_mesh_npol_dimid, nc_mesh_cntrlpts_dimid, &
nc_mesh_elem_dimid
integer :: ncout_mesh_sem_varid, ncout_mesh_fem_varid, &
ncout_mesh_midpoint_varid
integer :: ncin_mesh_sem_varid, ncin_mesh_fem_varid, &
ncin_mesh_midpoint_varid
integer :: ncin_mesh_G0_varid, ncout_mesh_G0_varid
integer :: ncin_mesh_G1_varid, ncout_mesh_G1_varid
integer :: ncin_mesh_G2_varid, ncout_mesh_G2_varid
integer :: ncin_mesh_gll_varid, ncout_mesh_gll_varid
integer :: ncin_mesh_glj_varid, ncout_mesh_glj_varid
integer :: ncout_mesh_eltype_varid, ncout_mesh_axis_varid
integer :: ncin_mesh_eltype_varid, ncin_mesh_axis_varid
integer :: ncomp, nstraincomp
character(len=8) :: sourcetype
character(len=12) :: dump_type
integer :: dimids(2)
character(len=16), allocatable :: varnamelist(:), varname_stf(:)
integer, dimension(9) :: ncin_field_varid
integer, dimension(9) :: ncout_field_varid
integer :: isfinalized, status, percent
integer :: nstep, nvars_mesh
integer :: attnum, nf_att_stat
character(len=80) :: attname, varname
real, allocatable :: data_mesh(:), data_stf_1d(:)
integer, allocatable :: int_data_1d(:), int_data_2d(:,:), int_data_3d(:,:,:)
double precision, allocatable :: dp_data_1d(:), dp_data_2d(:,:)
real(kind=8), dimension(:,:), allocatable :: datat, datat_t
double precision :: time_fft, time_i, time_o, tick, tack
double precision :: space_i, space_o
logical :: verbose = .true.
integer :: npointsperstep, cache_size, narg
integer :: chunk_gll
character(len=32) :: cache_size_char
!< Contains chunk size in GLL points. Should be system
!! int(disk_block_size / nsnap)
integer, parameter :: disk_block_size = 8192
! lossy compression: setting the fields to numerical zero before p-wave
! arrival helps bzip a lot for the compression. The fields are truncated to
! the significant digits below the maximum of each time trace.
! the idea goes back to point 8) in
! http://netcdf4-python.googlecode.com/svn/trunk/docs/netCDF4-module.html
End of preview.
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
0