# Internal API¶

## Routines¶

### GeoCAT-comp routines¶

 `geocat.comp.polynomial._get_missing_value` Attempts to extract missing_value or _FillValue from either data or dict. `geocat.comp.polynomial._unchunk_ifneeded` Returns data unchunked along axis. `geocat.comp.polynomial.ndpolyfit` An extension to numpy.polyfit function to support multi-dimensional arrays, Dask arrays, and missing values. `geocat.comp.polynomial._ndpolyfit` An extension to numpy.polyfit function to support multi-dimensional arrays, Dask arrays, and missing values. `geocat.comp.polynomial._check_axis` `geocat.comp.polynomial._rearrange_axis` rearranges the numpy.ndarray as a two-dimensional array of size (n, -1), where n is the number of elements of the dimension defined by axis. `geocat.comp.polynomial._reverse_rearrange_axis` `geocat.comp.polynomial.isvector` `geocat.comp.polynomial._to_numpy_ndarray` `geocat.comp.polynomial.ndpolyval` Extended version of numpy.polyval to support multi-dimensional outputs provided by geocat.comp.ndpolyfit. `geocat.comp.polynomial._ndpolyval` `geocat.comp.polynomial.detrend` Estimates and removes the trend of the leftmost dimension from all grid points.
{"ft_lang_label":"__label__en","ft_lang_prob":0.751983,"math_prob":0.64415365,"size":713,"snap":"2020-45-2020-50","text_gpt3_token_len":156,"char_repetition_ratio":0.14527504,"word_repetition_ratio":0.24,"special_character_ratio":0.19635344,"punctuation_ratio":0.1496063,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9833327,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-25T19:33:37Z\",\"WARC-Record-ID\":\"<urn:uuid:ed4846ed-4994-4dbe-97be-97033ea6a0c1>\",\"Content-Length\":\"15737\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:36a42745-96bf-4b24-b9ee-e5e2b9086b2f>\",\"WARC-Concurrent-To\":\"<urn:uuid:363d98ed-4ffa-4601-986b-82cc48a2c49c>\",\"WARC-IP-Address\":\"104.17.33.82\",\"WARC-Target-URI\":\"https://geocat-comp.readthedocs.io/en/latest/internal_api/\",\"WARC-Payload-Digest\":\"sha1:5A5RFVATNCXCYVPFAXHM3A4PZUFFBLRK\",\"WARC-Block-Digest\":\"sha1:MW77OGCXQGFU6ZIKCLZM6SWXOKIHQPBJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107889651.52_warc_CC-MAIN-20201025183844-20201025213844-00395.warc.gz\"}"}