Skip to main content
Ctrl+K
bsrn 0.2.1 documentation - Home bsrn 0.2.1 documentation - Home
  • User Guide
  • Tutorials
  • API Reference
  • Examples
  • GitHub
  • User Guide
  • Tutorials
  • API Reference
  • Examples
  • GitHub

Section Navigation

API Sections

  • BSRNDataset
    • bsrn.dataset.BSRNDataset
    • bsrn.dataset.BSRNDataset.from_file
    • bsrn.dataset.BSRNDataset.data
    • bsrn.dataset.BSRNDataset.solpos
    • bsrn.dataset.BSRNDataset.clear_sky
    • bsrn.dataset.BSRNDataset.qc_test
    • bsrn.dataset.BSRNDataset.qc_mask
    • bsrn.dataset.BSRNDataset.average
    • bsrn.dataset.BSRNDataset.plot
    • bsrn.dataset.BSRNPlot
    • bsrn.dataset.BSRNPlot.daily
    • bsrn.dataset.BSRNPlot.table
  • I/O Operations
    • bsrn.dataset.BSRNDataset.from_file
    • bsrn.io.retrieval.get_bsrn_file_inventory
    • bsrn.io.retrieval.download_bsrn_single
    • bsrn.io.retrieval.download_bsrn_stn
    • bsrn.io.retrieval.download_bsrn_mon
    • bsrn.io.retrieval.download_bsrn_files
    • bsrn.io.mcclear.fetch_mcclear
    • bsrn.io.merra2.fetch_rest2
    • bsrn.io.crs.check_crs_availability
    • bsrn.io.crs.download_crs
    • bsrn.io.crs.fetch_crs_hf
    • bsrn.io.crs.add_crs_columns
    • bsrn.io.nsrdb.check_nsrdb_availability
    • bsrn.io.nsrdb.download_nsrdb
    • bsrn.io.nsrdb.fetch_nsrdb_hf
    • bsrn.io.nsrdb.add_nsrdb_columns
    • bsrn.io.retrieval.parse_bsrn_filename
    • bsrn.io.retrieval.months_from_ftp_filenames
  • Station-to-archive (LR)
    • bsrn.archive.ArchiveRecordBase
    • bsrn.archive.get_azimuth_elevation
    • bsrn.archive.records_models.lr_spec
    • bsrn.archive.records_models.lr_spec_field
    • bsrn.archive.records_base.make_archive_after_validator
    • bsrn.archive.LR0001
    • bsrn.archive.LR0002
    • bsrn.archive.LR0003
    • bsrn.archive.LR0004
    • bsrn.archive.LR0005
    • bsrn.archive.LR0006
    • bsrn.archive.LR0007
    • bsrn.archive.LR0008
    • bsrn.archive.LR0100
    • bsrn.archive.LR4000
    • bsrn.archive.LR4000CONST
    • bsrn.archive.LR_SPECS
    • bsrn.archive.STATION_METADATA
    • bsrn.archive.TOPOGRAPHIES
    • bsrn.archive.SURFACES
    • bsrn.archive.QUANTITIES
    • bsrn.archive.PYRGEOMETER_BODY
    • bsrn.archive.PYRGEOMETER_DOME
    • bsrn.archive.archive_lr_formats
    • bsrn.archive.records_base
    • bsrn.archive.records_models
    • bsrn.archive.specs
    • bsrn.archive.validation
  • Quality Control
    • bsrn.qc.wrapper.run_qc
    • bsrn.qc.wrapper.mask_failed_irradiance
    • bsrn.qc.wrapper.test_physically_possible
    • bsrn.qc.wrapper.test_extremely_rare
    • bsrn.qc.wrapper.test_closure
    • bsrn.qc.wrapper.test_diff_ratio
    • bsrn.qc.wrapper.test_k_index
    • bsrn.qc.wrapper.test_tracker_off
    • bsrn.qc.ppl.ghi_ppl_test
    • bsrn.qc.ppl.bni_ppl_test
    • bsrn.qc.ppl.dhi_ppl_test
    • bsrn.qc.ppl.lwd_ppl_test
    • bsrn.qc.erl.ghi_erl_test
    • bsrn.qc.erl.bni_erl_test
    • bsrn.qc.erl.dhi_erl_test
    • bsrn.qc.erl.lwd_erl_test
    • bsrn.qc.closure.closure_low_sza_test
    • bsrn.qc.closure.closure_high_sza_test
    • bsrn.qc.diff_ratio.k_kt_combined_test
    • bsrn.qc.diff_ratio.k_low_sza_test
    • bsrn.qc.diff_ratio.k_high_sza_test
    • bsrn.qc.k_index.kb_kt_test
    • bsrn.qc.k_index.kb_limit_test
    • bsrn.qc.k_index.kt_limit_test
    • bsrn.qc.tracker.tracker_off_test
  • Modeling
    • bsrn.modeling.clear_sky.add_clearsky_columns
    • bsrn.modeling.clear_sky.ineichen_model
    • bsrn.modeling.clear_sky.rest2_model
    • bsrn.modeling.clear_sky.brutsaert_model
    • bsrn.modeling.clear_sky.threlkeld_jordan_model
    • bsrn.modeling.separation.erbs_separation
    • bsrn.modeling.separation.engerer2_separation
    • bsrn.modeling.separation.brl_separation
    • bsrn.modeling.separation.yang4_separation
  • Physics
    • bsrn.physics.geometry.get_solar_position
    • bsrn.physics.geometry.get_bni_extra
    • bsrn.physics.geometry.get_ghi_extra
    • bsrn.physics.geometry.get_pressure_from_elevation
    • bsrn.physics.geometry.add_solpos_columns
  • Visualization
    • bsrn.visualization.availability.plot_bsrn_availability
    • bsrn.visualization.calendar.plot_calendar
    • bsrn.visualization.table.plot_table
    • bsrn.visualization.clearsky_models.plot_clearsky_models_booklet
    • bsrn.visualization.cspoints.plot_csd_booklet
    • bsrn.visualization.separation.plot_k_vs_kt
    • bsrn.visualization.daily.plot_bsrn_daily_booklet
    • bsrn.visualization.daily.plot_bsrn_daily_day
  • Utilities
    • bsrn.utils.averaging.pretty_average
    • bsrn.utils.quality.get_daily_stats
    • bsrn.utils.clear_sky_detection.reno_csd
    • bsrn.utils.clear_sky_detection.ineichen_csd
    • bsrn.utils.clear_sky_detection.lefevre_csd
    • bsrn.utils.clear_sky_detection.brightsun_csd
    • bsrn.utils.clear_sky_detection.detect_clearsky
    • bsrn.utils.cee_detection.detect_cee
    • bsrn.utils.cee_detection.killinger_ced
    • bsrn.utils.cee_detection.yang_ced
    • bsrn.utils.cee_detection.gueymard_ced
    • bsrn.utils.calculations.calc_kb
    • bsrn.utils.calculations.calc_kd
    • bsrn.utils.calculations.calc_kt
  • API Reference
  • Station-to-archive (LR)
  • bsrn.archive.records_base

bsrn.archive.records_base#

Shared Pydantic base classes for BSRN logical records.

Functions

make_archive_after_validator(lr_code, field_name)

Build a unary callable for pydantic.functional_validators.AfterValidator.

Classes

ArchiveRecordBase()

Base class for archive LRs: Pydantic BaseModel plus ArchiveFormatMixin for Fortran-width ASCII output.

previous

bsrn.archive.archive_lr_formats

next

bsrn.archive.records_models

Show Source

© Copyright Dazhi Yang.

Created using Sphinx 9.0.4.

Built with the PyData Sphinx Theme 0.17.1.