easyidp.data.TestData

class easyidp.data.TestData(*, cache_root=None, test_out='./tests/out', notify_missing=True)

Developer and package test dataset.

This dataset is mainly used by EasyIDP tests and examples. Normal users usually want Lotus or ForestBirds instead.

__init__(*, cache_root=None, test_out='./tests/out', notify_missing=True)

Create a lightweight handle to the developer test dataset.

Accessible path groups include:

json test module

  • .json.for_read_json

  • .json.labelme_demo

  • .json.labelme_warn

  • .json.labelme_err

  • .json.geojson_soy

shp test module

  • .shp.lotus_shp

  • .shp.lotus_prj

  • .shp.complex_shp

  • .shp.complex_prj

  • .shp.lonlat_shp

  • .shp.utm53n_shp

  • .shp.utm53n_prj

  • .shp.rice_shp

  • .shp.rice_prj

  • .shp.roi_shp

  • .shp.roi_prj

  • .shp.testutm_shp

  • .shp.testutm_prj

  • .shp.jp_crs_shp

  • .shp.jp_crs_prj

  • .shp.mlayer_shp

  • .shp.mask_rice_roi

  • .shp.mask_rice_prj

  • .shp.mask_rice_gt_shp

  • .shp.mask_rice_gt_prj

pcd test module

  • .pcd.lotus_las

  • .pcd.lotus_laz

  • .pcd.lotus_pcd

  • .pcd.lotus_las13

  • .pcd.lotus_laz13

  • .pcd.lotus_ply_asc

  • .pcd.lotus_ply_bin

  • .pcd.maize_las

  • .pcd.maize_laz

  • .pcd.maize_ply

roi test module

  • .roi.dxf

  • .roi.lxyz_txt

  • .roi.xyz_txt

geotiff test module

  • .tiff.soyweed_part

  • .tiff.mlayer_ndvi

  • .tiff.mlayer_multi

  • .tiff.mask_rice_geotiff_empty_polygon

  • .tiff.mask_rice_geotiff_with_polygon

  • .tiff.out

metashape test module

  • .metashape.goya_psx

  • .metashape.goya_param

  • .metashape.lotus_psx

  • .metashape.lotus_param

  • .metashape.lotus_dsm

  • .metashape.wheat_psx

  • .metashape.wheat_param

  • .metashape.multichunk_psx

  • .metashape.multichunk_param

  • .metashape.multifolder_psx

  • .metashape.multifolder_param

  • .metashape.nestedfolder_psx

  • .metashape.nestedfolder_param

  • .metashape.camera_disorder_psx

  • .metashape.camera_disorder_param

  • .metashape.two_calib_psx

  • .metashape.two_calib_param

  • .metashape.multi_spectral_psx

  • .metashape.multi_spectral_param

pix4d test module

  • .pix4d.lotus_folder

  • .pix4d.lotus_param

  • .pix4d.lotus_photos

  • .pix4d.lotus_dom

  • .pix4d.lotus_dsm

  • .pix4d.lotus_pcd

  • .pix4d.lotus_dom_part

  • .pix4d.lotus_dsm_part

  • .pix4d.lotus_pcd_part

  • .pix4d.maize_folder

  • .pix4d.maize_dom

  • .pix4d.maize_dsm

  • .pix4d.maize_noparam

  • .pix4d.maize_empty

  • .pix4d.maize_noout

output folders

  • .json.out

  • .shp.out

  • .pcd.out

  • .tiff.out

  • .cv.out

  • .vis.out

  • .b2r.out

Parameters:
  • cache_root (Path or str, optional) – Root directory for cached datasets. Defaults to idp.config.get("data_dir").

  • test_out (Path or str, optional) – Folder for temporary test outputs, by default "./tests/out".

  • notify_missing (bool, optional) – Retained for backward compatibility only; no longer logs warnings.

TestData inherits the common dataset API from easyidp.data.dataset.Dataset. The inherited attributes and methods are documented on the hidden Data Advanced API page.

Inherited attributes

Attribute

Description

name

Dataset manifest name.

root

Extracted dataset directory.

Inherited methods

Method

Description

download()

Download and extract the dataset.

dry_run()

Return a JSON-friendly summary without touching the network.

is_ready()

Check whether required dataset files are available.

path()

Resolve a dotted manifest key to an absolute path.